diff options
author | R. David Murray <rdmurray@bitdance.com> | 2009-12-20 16:46:06 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2009-12-20 16:46:06 (GMT) |
commit | 77e48ba993a83ffd6e821ab69a09ab0d11771338 (patch) | |
tree | 699e1896c4c33348d9e4345dc11b7770de5efd62 /Misc | |
parent | 97138117b2a24c748dd2bd7e92843040700b0fd5 (diff) | |
download | cpython-77e48ba993a83ffd6e821ab69a09ab0d11771338.zip cpython-77e48ba993a83ffd6e821ab69a09ab0d11771338.tar.gz cpython-77e48ba993a83ffd6e821ab69a09ab0d11771338.tar.bz2 |
Issue #7376: When called with no arguments doctest was running a
self-test. Because of a change to the way tracebacks are printed,
this self-test was failing. The test is run (and passes) during normal
regression testing. So instead of running the failing self-test this
patch makes doctest emit a usage message. This is better behavior anyway
since passing in arguments is the real reason to run doctest as a command.
Bug discovery and initial patch by Florent Xicluna.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -49,6 +49,9 @@ Library Tests ----- +- Issue #7376: instead of running a self-test (which was failing) when called + with no arguments, doctest.py now gives a usage message. + - Issue #7396: fix regrtest -s, which was broken by the -j enhancement. - Issue #7498: test_multiprocessing now uses test_support.find_unused_port |