[ python-Bugs-989338 ] test_unicode_file fails on win2k
SourceForge.net
noreply at sourceforge.net
Mon Jul 12 18:35:05 CEST 2004
Bugs item #989338, was opened at 2004-07-12 07:11
Message generated for change (Comment added) made by tim_one
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=989338&group_id=5470
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Miki Tebeka (tebeka)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_unicode_file fails on win2k
Initial Comment:
>>> test_support.verbose = 1
>>> test_unicode_file.test_main()
test_directories
(test.test_unicode_file.TestUnicodeFiles) ... ERROR
test_equivalent_files
(test.test_unicode_file.TestUnicodeFiles) ... ERROR
test_single_files
(test.test_unicode_file.TestUnicodeFiles) ... ERROR
======================================================================
ERROR: test_directories
(test.test_unicode_file.TestUnicodeFiles)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\apps\Python24\lib\test\test_unicode_file.py", line
178, in test_directories
self._do_directory(TESTFN_ENCODED+ext,
TESTFN_ENCODED+ext, True)
File
"C:\apps\Python24\lib\test\test_unicode_file.py", line
112, in _do_directory
os.mkdir(make_name)
OSError: [Errno 22] Invalid argument: '@test-??.dir'
======================================================================
ERROR: test_equivalent_files
(test.test_unicode_file.TestUnicodeFiles)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\apps\Python24\lib\test\test_unicode_file.py", line
170, in test_equivalent_files
self._test_equivalent(TESTFN_ENCODED, TESTFN_UNICODE)
File
"C:\apps\Python24\lib\test\test_unicode_file.py", line
154, in _test_equivalent
f = file(filename1, "w")
IOError: [Errno 2] No such file or directory: '@test-??'
======================================================================
ERROR: test_single_files
(test.test_unicode_file.TestUnicodeFiles)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\apps\Python24\lib\test\test_unicode_file.py", line
164, in test_single_files
self._test_single(TESTFN_ENCODED)
File
"C:\apps\Python24\lib\test\test_unicode_file.py", line
136, in _test_single
f = file(filename, "w")
IOError: [Errno 2] No such file or directory: '@test-??'
----------------------------------------------------------------------
Ran 3 tests in 0.061s
FAILED (errors=3)
Traceback (most recent call last):
File "<pyshell#21>", line 1, in -toplevel-
test_unicode_file.test_main()
File
"C:\apps\Python24\lib\test\test_unicode_file.py", line
191, in test_main
run_suite(suite)
File "C:\apps\Python24\lib\test\test_support.py",
line 274, in run_suite
raise TestFailed(msg)
TestFailed: errors occurred; run in verbose mode for
details
>>>
This is Python2.4a1 on win2k pro
----------------------------------------------------------------------
>Comment By: Tim Peters (tim_one)
Date: 2004-07-12 12:35
Message:
Logged In: YES
user_id=31435
Peculiar -- it works fine on WinXP Pro, which ought to work
the same as Win2K here.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=989338&group_id=5470
More information about the Python-bugs-list
mailing list