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

Peter Donis report at bugs.python.org
Mon Jul 19 20:37:32 CEST 2010


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

I realized on comparing doctest-fixes2.diff with doctest-fixes1.diff that doctest-fixes2.diff doesn't capture the different newlines correctly, so patch on my machine wouldn't apply the diff (I had done testing from the modified svn checkout without reverting and then re-applying the patch). Uploaded doctest-fixes3.diff which is generated using the external diff command (svn diff --diff-cmd diff) so that patch will apply it cleanly. Not sure if this is something specific to my machine.

----------
keywords: +patch
Added file: http://bugs.python.org/file18066/doctest-fixes3.diff

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


More information about the Python-bugs-list mailing list