[issue8473] doctest fails if you have inconsistent lineendings

Terry J. Reedy report at bugs.python.org
Wed Aug 4 23:48:04 CEST 2010


Terry J. Reedy <tjreedy at udel.edu> added the comment:

I would call this a bug and still 2.7 eligible. The patch amounts to opening the file to be tested in universal newline mode + a corresponding test. If Python will run files with mixed line endings, doctest should test them.

----------
nosy: +terry.reedy
stage:  -> commit review
versions:  -Python 2.5, Python 2.6

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


More information about the Python-bugs-list mailing list