[issue8473] doctest fails if you have inconsistent lineendings

Terry J. Reedy report at bugs.python.org
Sat Jan 14 02:29:48 CET 2012


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

By 'update', do you mean to change

+Due to the way releases are made on different platforms, we sometimes test
+files on a *nix system with Windows file endings. Unfortunately, that leaves
+some of the test files broken:

to something like

+Issue8473: Make sure doctest works with mixed line endings.
+When this test is run on *nix, it has the side effect of making sure
+that doctest can handle Windows line endings on *nix.

Or just leave the last two lines off?

And also change '/r/n/r/n' x 2 to '/r/n/n' and '/n/r/n'.

----------

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


More information about the Python-bugs-list mailing list