New submission from Antoine Pitrou <pit...@free.fr>: $ LANG=ISO-8859-15 ./python -m test.regrtest test_doctest [1/1] test_doctest ********************************************************************** File "/home/antoine/py3k/__svn__/Lib/test/test_doctest.py", line 1676, in test.test_doctest.test_debug Failed example: try: doctest.debug_src(s) finally: sys.stdin = real_stdin Expected: > <string>(1)<module>() (Pdb) next 12 --Return-- > <string>(1)<module>()->None (Pdb) print(x) 12 (Pdb) continue Got: > /home/antoine/py3k/__svn__/Lib/encodings/iso8859_15.py(15)decode() -> return codecs.charmap_decode(input,errors,decoding_table) (Pdb) next --Return-- > /home/antoine/py3k/__svn__/Lib/encodings/iso8859_15.py(15)decode()->('<string>', 8) -> return codecs.charmap_decode(input,errors,decoding_table) (Pdb) print(x) *** NameError: name 'x' is not defined (Pdb) continue 12 ********************************************************************** 1 items had failures: 1 of 4 in test.test_doctest.test_debug ***Test Failed*** 1 failures. test test_doctest failed -- 1 of 429 doctests failed 1 test failed: test_doctest
Also visible on the following buildbot: http://www.python.org/dev/buildbot/all/builders/x86%20debian%20parallel%203.x/builds/934/steps/test/logs/stdio ---------- components: Library (Lib), Tests messages: 121954 nosy: haypo, loewis, pitrou, tim_one priority: normal severity: normal stage: needs patch status: open title: test_doctest fails with iso-8859-15 locale type: behavior versions: Python 3.1, Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10492> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com