Make doctest's self-test succeed after the previous change.

This commit is contained in:
Guido van Rossum 2001-03-18 17:05:58 +00:00
parent af00a46599
commit 261d91a3f9
1 changed files with 2 additions and 0 deletions

View File

@ -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.