Skip to content

Python3.13: TypeError: DocTestRunner.__record_outcome() missing 1 required positional argument: 'skips' #67

@artsiomkaltovich

Description

@artsiomkaltovich

Python 3.13 has changed the signature of the __record_outcome method and added a skips parameter https://github.com/python/cpython/blob/3.13/Lib/doctest.py#L1480 (as I understand, it calculates the number of skipped tests). This change breaks the following code: pytest-sphinx.py, line 498.

Could you find the time to address this issue? I’m happy to create a PR if it can be merged soon.

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions