[Python-checkins] bpo-24746: Fix doctest failures when running the testsuite with -R (#11501) (#11512)

Senthil Kumaran webhook-mailer at python.org
Thu Jan 10 15:55:17 EST 2019


https://github.com/python/cpython/commit/0167c08163f44f4a033497102244bbb6150f606b
commit: 0167c08163f44f4a033497102244bbb6150f606b
branch: 2.7
author: Senthil Kumaran <skumaran at gatech.edu>
committer: GitHub <noreply at github.com>
date: 2019-01-10T12:55:08-08:00
summary:

bpo-24746: Fix doctest failures when running the testsuite with -R (#11501) (#11512)

files:
M Lib/test/test_doctest.py

diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py
index 88f4b6127938..a7a684524664 100644
--- a/Lib/test/test_doctest.py
+++ b/Lib/test/test_doctest.py
@@ -2355,8 +2355,7 @@ def test_unittest_reportflags():
     Then the default eporting options are ignored:
 
       >>> result = suite.run(unittest.TestResult())
-    """
-    """
+
     *NOTE*: These doctest are intentionally not placed in raw string to depict
     the trailing whitespace using `\x20` in the diff below.
 



More information about the Python-checkins mailing list