Antoine Pitrou <pit...@free.fr> added the comment: Actually, the error message is (when interpreted as utf-8):
====================================================================== FAIL: test_listdir (test.test_pep277.UnicodeFileTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/test/test_pep277.py", line 157, in test_listdir self.assertEqual(sf0, sf2) AssertionError: Items in the first set but not the second: '@test_29046_tmp/Grüß-Gott' Items in the second set but not the first: '@test_29046_tmp/Gr\udcfc\udcdf-Gott' Which corresponds to utf8 or ascii decoding of "Grüß-Gott" encoded with latin1: >>> "Grüß-Gott".encode("latin1").decode("ascii", "surrogateescape") 'Gr\udcfc\udcdf-Gott' >>> "Grüß-Gott".encode("latin1").decode("utf8", "surrogateescape") 'Gr\udcfc\udcdf-Gott' ---------- nosy: +haypo, loewis, pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9772> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com