[issue8473] doctest fails if you have inconsistent lineendings

2014-10-02 Thread R. David Murray
R. David Murray added the comment: I changed the test text to talk only about universal newline mode, since that is what it is testing. Someone could add a test for actual mixed line endings to it if they like. -- nosy: +r.david.murray resolution: -> fixed stage: commit review -> res

[issue8473] doctest fails if you have inconsistent lineendings

2014-10-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4a5f79ca8ef0 by R David Murray in branch '2.7': #8473: make doctest.testfile use universal newline mode. https://hg.python.org/cpython/rev/4a5f79ca8ef0 New changeset e6050cd9e29e by R David Murray in branch '3.4': #8473: Add tests that doctest uses

[issue8473] doctest fails if you have inconsistent lineendings

2012-01-13 Thread Terry J. Reedy
Terry J. Reedy 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 sur

[issue8473] doctest fails if you have inconsistent lineendings

2011-11-24 Thread Éric Araujo
Éric Araujo added the comment: The string in the test does not have mixed line endings, and the accompanying comment talks about testing files with CRLF on Unix. Terry, do you want to (update and) commit this? -- ___ Python tracker

[issue8473] doctest fails if you have inconsistent lineendings

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy 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 stag

[issue8473] doctest fails if you have inconsistent lineendings

2010-05-29 Thread Éric Araujo
Changes by Éric Araujo : -- priority: -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue8473] doctest fails if you have inconsistent lineendings

2010-05-29 Thread Éric Araujo
Éric Araujo added the comment: Looks good to me. Is there’s no disagreement on this being a bug fix rather than a new feature, it could go before the rc. -- components: +Library (Lib) -Extension Modules, Tests nosy: +merwok priority: normal -> ___

[issue8473] doctest fails if you have inconsistent lineendings

2010-04-20 Thread Lennart Regebro
New submission from Lennart Regebro : 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 fil