homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ishimoto
Recipients ezio.melotti, ishimoto
Date 2012年07月24日.15:24:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343143448.49.0.0362298873842.issue15441@psf.upfronthosting.co.za>
In-reply-to
Content
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.
----------------------------------------------------------------------
History
Date User Action Args
2012年07月24日 15:24:08ishimotosetrecipients: + ishimoto, ezio.melotti
2012年07月24日 15:24:08ishimotosetmessageid: <1343143448.49.0.0362298873842.issue15441@psf.upfronthosting.co.za>
2012年07月24日 15:24:07ishimotolinkissue15441 messages
2012年07月24日 15:24:07ishimotocreate

AltStyle によって変換されたページ (->オリジナル) /