summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-12-02 13:39:37 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-12-02 13:39:37 (GMT)
commitc747e5564f0315357a3e7d2f580c6d1c8a3b4ab8 (patch)
tree39f3018bd0096a269acb6914de385492fcd6ba47 /Lib
parent048e1078599b3fca9555e57897507372eddf8b37 (diff)
downloadcpython-c747e5564f0315357a3e7d2f580c6d1c8a3b4ab8.zip
cpython-c747e5564f0315357a3e7d2f580c6d1c8a3b4ab8.tar.gz
cpython-c747e5564f0315357a3e7d2f580c6d1c8a3b4ab8.tar.bz2
Fix test_doctest in verbose mode
Diffstat (limited to 'Lib')
-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 c1e4c13..4a341ed 100644
--- a/Lib/test/test_doctest.py
+++ b/Lib/test/test_doctest.py
@@ -2582,7 +2582,7 @@ Windows line endings first:
>>> fn = tempfile.mktemp()
>>> with open(fn, 'wb') as f:
... f.write('Test:\r\n\r\n >>> x = 1 + 1\r\n\r\nDone.\r\n')
- >>> doctest.testfile(fn, False)
+ >>> doctest.testfile(fn, module_relative=False, verbose=False)
TestResults(failed=0, attempted=1)
>>> os.remove(fn)
@@ -2591,7 +2591,7 @@ And now *nix line endings:
>>> fn = tempfile.mktemp()
>>> with open(fn, 'wb') as f:
... f.write('Test:\n\n >>> x = 1 + 1\n\nDone.\n')
- >>> doctest.testfile(fn, False)
+ >>> doctest.testfile(fn, module_relative=False, verbose=False)
TestResults(failed=0, attempted=1)
>>> os.remove(fn)