summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-12-20 16:46:06 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2009-12-20 16:46:06 (GMT)
commit77e48ba993a83ffd6e821ab69a09ab0d11771338 (patch)
tree699e1896c4c33348d9e4345dc11b7770de5efd62 /Misc
parent97138117b2a24c748dd2bd7e92843040700b0fd5 (diff)
downloadcpython-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/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c5d2380..e9d1a51 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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