[issue2223] regrtest.py -R not working

Hirokazu Yamamoto report at bugs.python.org
Wed Mar 5 07:15:34 CET 2008


Hirokazu Yamamoto added the comment:

I did more investigation.
Failure on second DocTestSuite run happens because
lib/doctest.py (2107) test.globs.clear()
is executed after first test runs.

I don't know if this is bug or not. Document in
doctest.py says test.globs will be untouched on
failure but become empty on success, but this
behavior prevents reusage of DocTestSuite.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2223>
__________________________________


More information about the Python-bugs-list mailing list