Message166300
test_posixpath.PosixCommonTest.test_nonascii_abspath fails on Japanese edition
of Windows.
If a file name was invalid byte character, os.chdir() raises UnicodeDecodeError()
instead of WindowsError.
This is a byte-api issue on Windows, so we may be able to simply skip this test.
======================================================================
ERROR: test_nonascii_abspath (test.test_posixpath.PosixCommonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cygwin\home\ishimoto\src\cpython\lib\test\test_genericpath.py", line
318, in test_nonascii_abspath
with support.temp_cwd(b'\xe7w\xf0'):
File "C:\cygwin\home\ishimoto\src\cpython\lib\contextlib.py", line 48, in __en
ter__
return next(self.gen)
File "C:\cygwin\home\ishimoto\src\cpython\lib\test\support.py", line 614, in t
emp_cwd
os.chdir(path)
UnicodeDecodeError: 'mbcs' codec can't decode bytes in position 0--1: No mapping
for the Unicode character exists in the target code page.
---------------------------------------------------------------------- |
|
Date |
User |
Action |
Args |
2012-07-24 15:24:08 | ishimoto | set | recipients:
+ ishimoto, ezio.melotti |
2012-07-24 15:24:08 | ishimoto | set | messageid: <1343143448.49.0.0362298873842.issue15441@psf.upfronthosting.co.za> |
2012-07-24 15:24:07 | ishimoto | link | issue15441 messages |
2012-07-24 15:24:07 | ishimoto | create | |
|