[issue1812] doctest _load_testfile function -- newline handling seems incorrect

Peter Donis report at bugs.python.org
Tue Jul 20 00:24:15 CEST 2010


Peter Donis <peterdonis at alum.mit.edu> added the comment:

Uploaded a diff implementing the fix for the head of the py3k branch. Test passes on my Linux box:

peter at Powerspec:~/.local/lib/python3.2/test> python3.2
Python 3.2a0 (py3k:82984, Jul 19 2010, 16:03:06)
[GCC 4.4.1 [gcc-4_4-branch revision 150839]] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
peter at Powerspec:~/.local/lib/python3.2/test> python3.2 test_doctest.py
doctest (doctest) ... 66 tests with zero failures
doctest (test.test_doctest) ... 415 tests with zero failures

----------
Added file: http://bugs.python.org/file18070/doctest-fixes-py3k.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1812>
_______________________________________


More information about the Python-bugs-list mailing list