[issue19058] test_sys.test_ioencoding_nonascii() fails with ASCII locale encoding
STINNER Victor
report at bugs.python.org
Wed Sep 25 00:08:30 CEST 2013
STINNER Victor added the comment:
Shouldn't FS_NONASCII be None with ASCII locale encoding?
See the description of the variable in test.support:
# FS_NONASCII: non-ASCII character encodable by os.fsencode(),
# or None if there is no such character.
The file system encoding an the locale encoding can be different... especially when PYTHONIOENCODING is used.
The test should not use FS_NONASCII.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19058>
_______________________________________
More information about the Python-bugs-list
mailing list