New submission from Lennart Regebro <rege...@gmail.com>: If the doctest file has both Windows and unix lineendings you get an error. Yeah, I know, it's not a serious bug, but it's also easy to fix.
Attached patch with test. Seems to not be an issue on Python 3. ---------- components: Extension Modules, Tests files: doctest_lineendings.patch keywords: patch messages: 103735 nosy: lregebro severity: normal status: open title: doctest fails if you have inconsistent lineendings versions: Python 2.5, Python 2.6, Python 2.7 Added file: http://bugs.python.org/file17008/doctest_lineendings.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8473> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com