[issue11390] doctest: add cmdline parameters

STINNER Victor report at bugs.python.org
Tue Jun 25 02:19:54 CEST 2013


STINNER Victor added the comment:

test_doctest.test_CLI() is also failing on Windows:

http://buildbot.python.org/all/builders/x86%20Windows%20Server%202003%20%5BSB%5D%203.x/builds/1078/steps/test/logs/stdio

It looks like an issue with Windows newline (\r\n) versus UNIX newline (\n). test_CLI() decodes the bytes output from UTF-8, but do not normalize newlines.

The universal_newlines=True option can be passed to subprocess, which is not possible currently using script_helper. Is there function somewhere else to normalize newlines?

----------

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


More information about the Python-bugs-list mailing list