From 09a08de363cbe18a87392e1c2ebf0ac1f414592c Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 2 Dec 2015 14:37:17 +0100 Subject: Fix test_doctest in verbose mode --- Lib/test/test_doctest.py | 4 ++-- 1 file 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) -- cgit v0.12