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

Mark Lawrence report at bugs.python.org
Mon Jul 19 22:50:21 CEST 2010

Mark Lawrence <breamoreboy at yahoo.co.uk> added the comment:

I've again tried running the test against the 2.7 maintainance release and got:-

ValueError: line 12 of the docstring for doctest_testfile.txt has inconsistent leading whitespace: 'This doctest verifies universal newline support; each command'

Could another patch please be provided that corrects this?  I suspect that I tried to edit the previous version to overcome this, screwed up the line endings and forgot to mention it, sorry about that.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list