summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-12-20 17:28:31 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2009-12-20 17:28:31 (GMT)
commit445448ca2d082c598c950f7baa6fbf70addd2a71 (patch)
tree9bd0a56d330ac087862d5d3f7dcca307eff5a1f1 /Misc
parent1554b18b5aad4547574f680761da047d356b30b4 (diff)
downloadcpython-445448ca2d082c598c950f7baa6fbf70addd2a71.zip
cpython-445448ca2d082c598c950f7baa6fbf70addd2a71.tar.gz
cpython-445448ca2d082c598c950f7baa6fbf70addd2a71.tar.bz2
Merged revisions 76934-76935 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r76934 | r.david.murray | 2009-12-20 11:24:46 -0500 (Sun, 20 Dec 2009) | 2 lines Fix comment typo. ........ r76935 | r.david.murray | 2009-12-20 11:46:06 -0500 (Sun, 20 Dec 2009) | 10 lines 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 226af73..f547cec 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -511,6 +511,9 @@ Documentation
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