]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-24746: Fix doctest failures when running the testsuite with -R (GH-11501)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 10 Jan 2019 16:02:26 +0000 (08:02 -0800)
committerGitHub <noreply@github.com>
Thu, 10 Jan 2019 16:02:26 +0000 (08:02 -0800)
(cherry picked from commit c5dc60ea858b8ccf78e8d26db81c307a8f9b2314)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Lib/test/test_doctest.py

index 6081009006df1a23e0430318fd9858700894dd36..4a3c488738d39f40da337a669f28fd40e8681448 100644 (file)
@@ -2450,8 +2450,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.