RuntimeError at end of test.autotest in Python 2.3b on windows, tmpfile also fails
Irmen de Jong
irmen at -NOSPAM-REMOVETHIS-xs4all.nl
Sat Apr 26 08:03:44 EDT 2003
Hello
when running "import test.autotest" in Python2.3b on windows xp,
I get a RuntimeError at the end:
209 tests OK.
2 tests failed:
test_imp test_os
42 tests skipped:
test_aepack test_al test_bsddb3 test_cd test_cl test_commands
test_crypt test_curses test_dbm test_dl test_email_codecs
test_fcntl test_fork1 test_gdbm test_gl test_grp test_imgfile
test_ioctl test_largefile test_linuxaudiodev test_macfs
test_macostools test_mhlib test_mpz test_nis test_normalization
test_openpty test_ossaudiodev test_plistlib test_poll test_posix
test_pty test_pwd test_resource test_scriptpackages test_signal
test_socket_ssl test_socketserver test_sunaudiodev test_timeout
test_timing test_urllibnet
Those skips are all expected on win32.
Traceback (most recent call last):
File "<string>", line 1, in ?
RuntimeError: not holding the import lock
What's up?
test_imp failed like this:
test test_imp failed -- Traceback (most recent call last):
File "C:\Python23\lib\test\test_imp.py", line 22, in testLock
raise TestFailed, \
TestFailed: release_lock() without lock should raise RuntimeError
Also, test_os fails:
ERROR: test_tmpfile (__main__.TemporaryFileTests)
-----------------------------------------------------------
Traceback (most recent call last):
File "lib\test\test_os.py", line 49, in test_tmpfile
fp = os.tmpfile()
OSError: [Errno 13] Permission denied
I'm running this on a regular user account on Windows XP.
--Irmen de Jong
More information about the Python-list
mailing list