summaryrefslogtreecommitdiffstats
path: root/Lib/doctest.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-03-18 17:05:58 (GMT)
committerGuido van Rossum <guido@python.org>2001-03-18 17:05:58 (GMT)
commit261d91a3f914ee5bb42534428acbc3479f3ca6d1 (patch)
tree58ddef56cfa9776cdf93f6e9c39d62ff7f9649d1 /Lib/doctest.py
parentaf00a46599e2891c26026ec4bc6ada892f1b810f (diff)
downloadcpython-261d91a3f914ee5bb42534428acbc3479f3ca6d1.zip
cpython-261d91a3f914ee5bb42534428acbc3479f3ca6d1.tar.gz
cpython-261d91a3f914ee5bb42534428acbc3479f3ca6d1.tar.bz2
Make doctest's self-test succeed after the previous change.
Diffstat (limited to 'Lib/doctest.py')
-rw-r--r--Lib/doctest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/doctest.py b/Lib/doctest.py
index c1130f7..4e80f10 100644
--- a/Lib/doctest.py
+++ b/Lib/doctest.py
@@ -642,6 +642,7 @@ Got: 84
>>> t.runstring(">>> x = x * 2\\n>>> print x\\n84\\n", 'example2')
(0, 2)
>>> t.summarize()
+*****************************************************************
1 items had failures:
1 of 2 in XYZ
***Test Failed*** 1 failures.
@@ -649,6 +650,7 @@ Got: 84
>>> t.summarize(verbose=1)
1 items passed all tests:
2 tests in example2
+*****************************************************************
1 items had failures:
1 of 2 in XYZ
4 tests in 2 items.