Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MockAwareDocTestFinder has stale docstring #12429

Closed
jaraco opened this issue Jun 6, 2024 · 1 comment
Closed

MockAwareDocTestFinder has stale docstring #12429

jaraco opened this issue Jun 6, 2024 · 1 comment

Comments

@jaraco
Copy link
Contributor

jaraco commented Jun 6, 2024

The docstring for MockAwareDocTestFinder references issues that are closed.

class MockAwareDocTestFinder(doctest.DocTestFinder):
"""A hackish doctest finder that overrides stdlib internals to fix a stdlib bug.
https://github.com/pytest-dev/pytest/issues/3456
https://bugs.python.org/issue25532
"""

issue25532 resolves to python/cpython#69718 with the fix released in Python 3.6. #3456 is also closed.

This docstring should be updated to reflect its current purpose. If there's any compatibility code still relevant to those issues, that too should be removed.

@jaraco
Copy link
Contributor Author

jaraco commented Jun 6, 2024

This issue can be addressed in #12432.

@jaraco jaraco closed this as completed Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant