Kaydet (Commit) 261d91a3 authored tarafından Guido van Rossum's avatar Guido van Rossum

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

üst af00a465
...@@ -642,6 +642,7 @@ Got: 84 ...@@ -642,6 +642,7 @@ Got: 84
>>> t.runstring(">>> x = x * 2\\n>>> print x\\n84\\n", 'example2') >>> t.runstring(">>> x = x * 2\\n>>> print x\\n84\\n", 'example2')
(0, 2) (0, 2)
>>> t.summarize() >>> t.summarize()
*****************************************************************
1 items had failures: 1 items had failures:
1 of 2 in XYZ 1 of 2 in XYZ
***Test Failed*** 1 failures. ***Test Failed*** 1 failures.
...@@ -649,6 +650,7 @@ Got: 84 ...@@ -649,6 +650,7 @@ Got: 84
>>> t.summarize(verbose=1) >>> t.summarize(verbose=1)
1 items passed all tests: 1 items passed all tests:
2 tests in example2 2 tests in example2
*****************************************************************
1 items had failures: 1 items had failures:
1 of 2 in XYZ 1 of 2 in XYZ
4 tests in 2 items. 4 tests in 2 items.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment