This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author matthewlmcclure
Recipients asvetlov, benjamin.peterson, charettes, ezio.melotti, fabioz, gvanrossum, matthewlmcclure, matthewlmcclure-gmail, michael.foord, python-dev, r.david.murray, rhettinger, terry.reedy, tomwardill
Date 2013-08-28.19:39:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1377718785.19.0.89843588753.issue11798@psf.upfronthosting.co.za>
In-reply-to
Content
This might fix it (untested):

diff -r d748d7020192 Lib/test/test_doctest.py
--- a/Lib/test/test_doctest.py	Sat Aug 03 10:09:25 2013 -0400
+++ b/Lib/test/test_doctest.py	Wed Aug 28 15:35:58 2013 -0400
@@ -2329,6 +2329,8 @@
 
     Now, when we run the test:
 
+      >>> suite = doctest.DocFileSuite('test_doctest.txt',
+      ...                          optionflags=doctest.DONT_ACCEPT_BLANKLINE)
       >>> result = suite.run(unittest.TestResult())
       >>> print(result.failures[0][1]) # doctest: +ELLIPSIS
       Traceback ...
History
Date User Action Args
2013-08-28 19:39:45matthewlmccluresetrecipients: + matthewlmcclure, gvanrossum, rhettinger, terry.reedy, fabioz, benjamin.peterson, ezio.melotti, r.david.murray, michael.foord, asvetlov, python-dev, tomwardill, matthewlmcclure-gmail, charettes
2013-08-28 19:39:45matthewlmccluresetmessageid: <1377718785.19.0.89843588753.issue11798@psf.upfronthosting.co.za>
2013-08-28 19:39:45matthewlmcclurelinkissue11798 messages
2013-08-28 19:39:45matthewlmcclurecreate