Cheryl Sabella added the comment:
I added `HAVE_DOCSTRINGS`,`MISSING_C_DOCSTRINGS`, `requires_docstring` to the
test.support documentation under issue11015. Additional changes to those three
have been made under issue32843, so I am closing this issue in favor of
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: -skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19412
___
___
Python-bugs-list
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
Nick Coghlan added the comment:
OK, since David agrees the updated behaviour of the requires_docstring
decorator makes sense (i.e. skipping __doc__ related tests whenever the
docstrings are unreliable, regardless of the reason), I'm morphing this to be a
test.support docs issue.
At least