[issue8180] Unicode File Test failures (PEP 277 on Mac OS X)
Michael Foord
report at bugs.python.org
Sun Mar 21 00:28:08 CET 2010
Michael Foord <michael at voidspace.org.uk> added the comment:
The test passes with the first patch applied (darwin.diff). With the second patch applied I get two failures:
======================================================================
ERROR: test_normalize (__main__.UnicodeFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_pep277.py", line 121, in test_normalize
os.stat(name)
OSError: [Errno 2] No such file or directory: '@test_70346_tmp/\xc2\xa8\xcc\x81\xc2\xb4\xe3\x8f\x95'
======================================================================
FAIL: test_listdir (__main__.UnicodeFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_pep277.py", line 145, in test_listdir
self.assertEqual(len(f1), len(self.files))
AssertionError: 18 != 19
----------------------------------------------------------------------
Ran 30 tests in 0.292s
FAILED (failures=1, errors=1)
Traceback (most recent call last):
File "Lib/test/test_pep277.py", line 198, in <module>
test_main()
File "Lib/test/test_pep277.py", line 191, in test_main
UnicodeNFKDFileTests,
File "/compile/python-trunk/Lib/test/test_support.py", line 1031, in run_unittest
_run_suite(suite)
File "/compile/python-trunk/Lib/test/test_support.py", line 1014, in _run_suite
raise TestFailed(err)
test.test_support.TestFailed: multiple errors occurred
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8180>
_______________________________________
More information about the Python-bugs-list
mailing list