summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-12-02 13:37:17 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-12-02 13:37:17 (GMT)
commit09a08de363cbe18a87392e1c2ebf0ac1f414592c (patch)
tree23b108e25fbfe9f3b1c14e1e4768ddef6cf9a70b /Lib/test
parent40a841bcb9ad7fab87aad030e0f8924689b5aaef (diff)
downloadcpython-09a08de363cbe18a87392e1c2ebf0ac1f414592c.zip
cpython-09a08de363cbe18a87392e1c2ebf0ac1f414592c.tar.gz
cpython-09a08de363cbe18a87392e1c2ebf0ac1f414592c.tar.bz2
Fix test_doctest in verbose mode
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_doctest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py
index 73b4452..379e316 100644
--- a/Lib/test/test_doctest.py
+++ b/Lib/test/test_doctest.py
@@ -2647,7 +2647,7 @@ Windows line endings first:
>>> with open(fn, 'wb') as f:
... f.write(b'Test:\r\n\r\n >>> x = 1 + 1\r\n\r\nDone.\r\n')
35
- >>> doctest.testfile(fn, False)
+ >>> doctest.testfile(fn, module_relative=False, verbose=False)
TestResults(failed=0, attempted=1)
>>> os.remove(fn)
@@ -2657,7 +2657,7 @@ And now *nix line endings:
>>> with open(fn, 'wb') as f:
... f.write(b'Test:\n\n >>> x = 1 + 1\n\nDone.\n')
30
- >>> doctest.testfile(fn, False)
+ >>> doctest.testfile(fn, module_relative=False, verbose=False)
TestResults(failed=0, attempted=1)
>>> os.remove(fn)