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

Peter Donis report at bugs.python.org
Sat Jan 12 07:01:24 CET 2008


Peter Donis added the comment:

Edit: I should have said that the attached diff also includes changes 
to test_doctest.py to test for the correct newline behavior. Because 
the test setup is a little complex, I added an auxiliary script, 
doctest_testfile.py, and an accompanying text file, 
doctest_testfile.txt, which intentionally contains mismatched newlines 
for use in the test.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1812>
__________________________________


More information about the Python-bugs-list mailing list