Fix test_doctest in verbose mode

This commit is contained in:
Victor Stinner 2015-12-02 14:37:17 +01:00
parent 40a841bcb9
commit 09a08de363
1 changed files with 2 additions and 2 deletions

View File

@ -2647,7 +2647,7 @@ def test_lineendings(): r"""
>>> 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 @@ def test_lineendings(): r"""
>>> 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)