[issue1293741] doctest runner cannot handle non-ascii characters

2010-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: OP: "The doctest module fails when the expected result string has non-ascii charcaters even if the # -*- coding: XXX -*- line is properly set." I believe the claim in msg70907 of #2811 is correct: the file encoding only affects the conversion of *unicode* lite

[issue1293741] doctest runner cannot handle non-ascii characters

2009-11-27 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +Merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1293741] doctest runner cannot handle non-ascii characters

2009-10-21 Thread Wolodja Wentland
Changes by Wolodja Wentland : Added file: http://bugs.python.org/file15174/unicode_bug_literals.py ___ Python tracker ___ ___ Python-bugs-li

[issue1293741] doctest runner cannot handle non-ascii characters

2009-10-21 Thread Wolodja Wentland
Wolodja Wentland added the comment: Here is some more information. --- snip --- Normal behaviour $ locale LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_NUMERIC=POSIX LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8 LC_MONETARY=de_DE.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=de_DE.UTF-8 LC_

[issue1293741] doctest runner cannot handle non-ascii characters

2009-07-01 Thread Christoph Burgmer
Christoph Burgmer added the comment: My last patch only changed the encoding used in DocTestRunner.run(). This new patch will apply the same to DocTestCase.runTest(). -- Added file: http://bugs.python.org/file14422/doctest.unicode.patch ___ Python tr

[issue1293741] doctest runner cannot handle non-ascii characters

2009-06-30 Thread Christoph Burgmer
Christoph Burgmer added the comment: See attached patch which works for error reporting and verbose output. -- keywords: +patch nosy: +christoph Added file: http://bugs.python.org/file14407/doctest.unicode.patch ___ Python tracker

[issue1293741] doctest runner cannot handle non-ascii characters

2009-01-27 Thread Rodrigo Bernardo Pimentel
Changes by Rodrigo Bernardo Pimentel : -- nosy: +rbp ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue1293741] doctest runner cannot handle non-ascii characters

2009-01-11 Thread Luciano Ramalho
Luciano Ramalho added the comment: I have confirmed everything that akaihola reports in Python 2.4, 2.5 and 2.6, but the problem is not limited to non-matching test output. It also happens with doctests with zero failures when the module is run with the -v command-line switch, or testmod is call