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

Senthil Kumaran webhook-mailer at python.org
Thu Jan 10 09:29:44 EST 2019


https://github.com/python/cpython/commit/c5dc60ea858b8ccf78e8d26db81c307a8f9b2314
commit: c5dc60ea858b8ccf78e8d26db81c307a8f9b2314
branch: master
author: Pablo Galindo <Pablogsal at gmail.com>
committer: Senthil Kumaran <skumaran at gatech.edu>
date: 2019-01-10T06:29:40-08:00
summary:

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

files:
M Lib/test/test_doctest.py

diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py
index c40c38926873..f1013f257259 100644
--- a/Lib/test/test_doctest.py
+++ b/Lib/test/test_doctest.py
@@ -2451,8 +2451,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