Issue 8422: tiger buildbot: test_abspath_issue3426 failure (test_genericpath.py) (original) (raw)

Created on 2010-04-16 16:31 by vstinner, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (5)
msg103338 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2010-04-16 16:31
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 os.mkdir(name) 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').
msg103468 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2010-04-18 08:02
See also #8423.
msg103471 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2010-04-18 08:25
Fixed by r80163: move the test to a new function and skip the function on Mac.
msg105632 - (view) Author: Florent Xicluna (flox) * (Python committer) Date: 2010-05-13 13:15
afaict, it needs backport to 2.7.
msg105642 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2010-05-13 16:26
> afaict, it needs backport to 2.7. Right: r81135 (and r81137). Blocked on 2.6 (it doesn't have the non-ASCII path test): r81139.
History
Date User Action Args
2022-04-11 14:57:00 admin set github: 52669
2010-05-13 16:26:12 vstinner set status: open -> closedmessages: +
2010-05-13 13:15:49 flox set status: closed -> opentype: crashcomponents: + Testsversions: + Python 2.7, - Python 3.2nosy: + floxmessages: + stage: commit review
2010-04-18 08:25:45 vstinner set status: open -> closedresolution: fixedmessages: +
2010-04-18 08:02:43 vstinner set messages: +
2010-04-16 18:59:38 loewis set keywords: + buildbot
2010-04-16 16:31:24 vstinner set components: + Library (Lib)versions: + Python 3.2
2010-04-16 16:31:05 vstinner create