Ezio Melotti added the comment: I was bitten by this in #19535. See the third point about test_contextlib in msg203071. I would expect support.requires_docstring to skip the test if -OO is used and the docstrings are missing.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19412> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com