[issue19412] Add a test.support decorator for tests that require C level docstrings
Nick Coghlan
report at bugs.python.org
Sat Oct 26 19:51:34 CEST 2013
Nick Coghlan added the comment:
Alternatively, if the affected tests should also be skipped under -OO, then I think changing the current definition of HAVE_DOCSTRINGS would also work:
MISSING_C_DOCSTRINGS = (check_impl_detail() and
sys.platform != 'win32' and
not sysconfig.get_config_var('WITH_DOC_STRINGS'))
HAVE_DOCSTRINGS = _check_docstrings.__doc__ is not None and not MISSING_C_DOCSTRINGS
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19412>
_______________________________________
More information about the Python-bugs-list
mailing list