Message196406
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 ... |
|
| Date |
User |
Action |
Args |
| 2013-08-28 19:39:45 | matthewlmcclure | set | recipients:
+ 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:45 | matthewlmcclure | set | messageid: <[email protected]> |
| 2013-08-28 19:39:45 | matthewlmcclure | link | issue11798 messages |
| 2013-08-28 19:39:45 | matthewlmcclure | create | |
|