diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-12-02 13:39:37 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-12-02 13:39:37 (GMT) |
commit | c747e5564f0315357a3e7d2f580c6d1c8a3b4ab8 (patch) | |
tree | 39f3018bd0096a269acb6914de385492fcd6ba47 /Lib | |
parent | 048e1078599b3fca9555e57897507372eddf8b37 (diff) | |
download | cpython-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.py | 4 |
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) |