[Python-checkins] cpython (3.5): Fix test_doctest in verbose mode
victor.stinner
python-checkins at python.org
Wed Dec 2 08:38:13 EST 2015
https://hg.python.org/cpython/rev/f3019e3f67d6
changeset: 99411:f3019e3f67d6
branch: 3.5
parent: 99407:ed45a09e5a69
user: Victor Stinner <victor.stinner at gmail.com>
date: Wed Dec 02 14:37:17 2015 +0100
summary:
Fix test_doctest in verbose mode
files:
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
--- a/Lib/test/test_doctest.py
+++ b/Lib/test/test_doctest.py
@@ -2647,7 +2647,7 @@
>>> 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 @@
>>> 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)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list