[issue8473] doctest fails if you have inconsistent lineendings

Lennart Regebro report at bugs.python.org
Tue Apr 20 18:40:18 CEST 2010


New submission from Lennart Regebro <regebro at 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 <report at bugs.python.org>
<http://bugs.python.org/issue8473>
_______________________________________


More information about the Python-bugs-list mailing list