From: Guido van Rossum Date: Sun, 18 Mar 2001 17:05:58 +0000 (+0000) Subject: Make doctest's self-test succeed after the previous change. X-Git-Tag: v2.1b2~147 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=261d91a3f914ee5bb42534428acbc3479f3ca6d1;p=thirdparty%2FPython%2Fcpython.git Make doctest's self-test succeed after the previous change. --- diff --git a/Lib/doctest.py b/Lib/doctest.py index c1130f7a5cf5..4e80f10ee2ff 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.