[issue10417] unittest triggers UnicodeEncodeError with non-ASCII character in the docstring of the test function

Jeffrey Finkelstein report at bugs.python.org
Tue Nov 16 05:57:47 CET 2010


Jeffrey Finkelstein <jeffrey.finkelstein at gmail.com> added the comment:

I am not having this problem on Ubuntu 10.10 with the most recent Python 2.7:

<terminal interaction>
$ ./python unicodetest.py --verbose
test_unicode_docstring (__main__.UnicodeTest)
täst - docstring with unicode character ... ok

----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
$ ./python unicodetest.py
test_unicode_docstring (__main__.UnicodeTest)
täst - docstring with unicode character ... ok

----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
</terminal interaction>

----------
nosy: +jfinkels

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


More information about the Python-bugs-list mailing list