gh-76007: `pydoc`: Catch `DeprecationWarning` for stdlib module `__version__` attributes by StanFromIreland · Pull Request #139997 · python/cpython
Conversation
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have some tests for that? (to see that we indeed don't catch the warning)
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I'll let Adam have a look to see if he wants something different as well.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters