[New-bugs-announce] [issue8422] tiger buildbot: test_abspath_issue3426 failure (test_genericpath.py)

STINNER Victor report at bugs.python.org
Fri Apr 16 18:31:06 CEST 2010

New submission from STINNER Victor <victor.stinner at haypocalc.com>:

http://www.python.org/dev/buildbot/3.x/builders/x86 Tiger 3.x/builds/6/steps/test/logs/stdio

test test_ntpath failed -- Traceback (most recent call last):
  File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/test/test_genericpath.py", line 288, in test_abspath_issue3426
    with support.temp_cwd(b'\xe7w\xf0'):
  File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/contextlib.py", line 17, in __enter__
    return next(self.gen)
  File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/test/support.py", line 392, in temp_cwd
OSError: [Errno 22] Invalid argument

As discussed on IRC: Mac OS X deny the creation of a directory with an invalid utf8 name. The test should be skipped on Mac OS X (sys.platform == 'darwin').

messages: 103338
nosy: haypo
severity: normal
status: open
title: tiger buildbot: test_abspath_issue3426 failure (test_genericpath.py)

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list