[issue6292] Fix tests to work with -OO
Antoine Pitrou
report at bugs.python.org
Wed Jun 17 00:25:39 CEST 2009
Antoine Pitrou <pitrou at free.fr> added the comment:
Rather than silently skipping stuff or writing to stderr, the patch
should, as much as possible, use the new test-skipping API in unittest.
Perhaps DocTestSuite could centralize some of the effort by inspecting
sys.flags and skipping accordingly (but users may also set __doc__
manually).
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6292>
_______________________________________
More information about the Python-bugs-list
mailing list