New submission from Michael Foord <mich...@voidspace.org.uk>: I'm *assuming* this is a Mac OS X issue. (10.6.2)
./python.exe Lib/test/test_pep277.py test_directory (__main__.UnicodeFileTests) ... ok test_failures (__main__.UnicodeFileTests) ... ok test_listdir (__main__.UnicodeFileTests) ... FAIL test_open (__main__.UnicodeFileTests) ... ok test_rename (__main__.UnicodeFileTests) ... ok ====================================================================== FAIL: test_listdir (__main__.UnicodeFileTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_pep277.py", line 92, in test_listdir self.assertEqual(sf2, set(self.files)) AssertionError: Items in the first set but not the second: u'@test_969_tmp/\u0393\u03b5\u03b9\u03b1\u0301-\u03c3\u03b1\u03c2' u'@test_969_tmp/Gru\u0308\xdf-Gott' u'@test_969_tmp/\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0438\u0306\u0442\u0435' u'@test_969_tmp/\u306b\u307b\u309a\u3093' Items in the second set but not the first: u'@test_969_tmp/\u0393\u03b5\u03b9\u03ac-\u03c3\u03b1\u03c2' u'@test_969_tmp/\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435' u'@test_969_tmp/Gr\xfc\xdf-Gott' u'@test_969_tmp/\u306b\u307d\u3093' ---------------------------------------------------------------------- Ran 5 tests in 0.021s FAILED (failures=1) Traceback (most recent call last): File "Lib/test/test_pep277.py", line 120, in <module> test_main() File "Lib/test/test_pep277.py", line 115, in test_main test_support.run_unittest(UnicodeFileTests) File "/compile/python-back/Lib/test/test_support.py", line 1031, in run_unittest _run_suite(suite) File "/compile/python-back/Lib/test/test_support.py", line 1014, in _run_suite raise TestFailed(err) test.test_support.TestFailed: Traceback (most recent call last): File "Lib/test/test_pep277.py", line 92, in test_listdir self.assertEqual(sf2, set(self.files)) AssertionError: Items in the first set but not the second: u'@test_969_tmp/\u0393\u03b5\u03b9\u03b1\u0301-\u03c3\u03b1\u03c2' u'@test_969_tmp/Gru\u0308\xdf-Gott' u'@test_969_tmp/\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0438\u0306\u0442\u0435' u'@test_969_tmp/\u306b\u307b\u309a\u3093' Items in the second set but not the first: u'@test_969_tmp/\u0393\u03b5\u03b9\u03ac-\u03c3\u03b1\u03c2' u'@test_969_tmp/\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435' u'@test_969_tmp/Gr\xfc\xdf-Gott' u'@test_969_tmp/\u306b\u307d\u3093' ---------- assignee: ronaldoussoren messages: 101361 nosy: michael.foord, ronaldoussoren severity: normal status: open title: Unicode File Test failures (PEP 277 on Mac OS X) _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8180> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com