[issue8587] test_import.py test failures on Py3K Mac OS X

2010-05-01 Thread Michael Foord

Michael Foord  added the comment:

Assuming this is actually the same problem as issue 8586.

--
resolution:  -> duplicate
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8587] test_import.py test failures on Py3K Mac OS X

2010-05-01 Thread Michael Foord

Michael Foord  added the comment:

This is likely related to issue 8586 - the actual failure is very similar (a 
bad path in support.py).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8587] test_import.py test failures on Py3K Mac OS X

2010-05-01 Thread Michael Foord

New submission from Michael Foord :

I get the following failures with test_import on Mac OS X 10.6.3:


==
ERROR: test_import (test.test_import.ImportTests)
--
Traceback (most recent call last):
  File "/compile/python-trunk3/Lib/test/test_import.py", line 93, in test_import
test_with_extension(".py")
  File "/compile/python-trunk3/Lib/test/test_import.py", line 86, in 
test_with_extension
forget(TESTFN)
  File "/compile/python-trunk3/Lib/test/support.py", line 227, in forget
unlink(source + 'c')
  File "/compile/python-trunk3/Lib/test/support.py", line 186, in unlink
os.unlink(filename)
OSError: [Errno 20] Not a directory: 
'/dev/null/lib/python32.zip/@test_9343_tmp.pyc'

==
ERROR: test___cached__ (test.test_import.PycacheTests)
--
Traceback (most recent call last):
  File "/compile/python-trunk3/Lib/test/test_import.py", line 504, in setUp
self._clean()
  File "/compile/python-trunk3/Lib/test/test_import.py", line 498, in _clean
forget(TESTFN)
  File "/compile/python-trunk3/Lib/test/support.py", line 227, in forget
unlink(source + 'c')
  File "/compile/python-trunk3/Lib/test/support.py", line 186, in unlink
os.unlink(filename)
OSError: [Errno 20] Not a directory: 
'/dev/null/lib/python32.zip/@test_9343_tmp.pyc'

==
ERROR: test___cached___legacy_pyc (test.test_import.PycacheTests)
--
Traceback (most recent call last):
  File "/compile/python-trunk3/Lib/test/test_import.py", line 504, in setUp
self._clean()
  File "/compile/python-trunk3/Lib/test/test_import.py", line 498, in _clean
forget(TESTFN)
  File "/compile/python-trunk3/Lib/test/support.py", line 227, in forget
unlink(source + 'c')
  File "/compile/python-trunk3/Lib/test/support.py", line 186, in unlink
os.unlink(filename)
OSError: [Errno 20] Not a directory: 
'/dev/null/lib/python32.zip/@test_9343_tmp.pyc'

==
ERROR: test_import_pyc_path (test.test_import.PycacheTests)
--
Traceback (most recent call last):
  File "/compile/python-trunk3/Lib/test/test_import.py", line 504, in setUp
self._clean()
  File "/compile/python-trunk3/Lib/test/test_import.py", line 498, in _clean
forget(TESTFN)
  File "/compile/python-trunk3/Lib/test/support.py", line 227, in forget
unlink(source + 'c')
  File "/compile/python-trunk3/Lib/test/support.py", line 186, in unlink
os.unlink(filename)
OSError: [Errno 20] Not a directory: 
'/dev/null/lib/python32.zip/@test_9343_tmp.pyc'

==
ERROR: test_missing_source (test.test_import.PycacheTests)
--
Traceback (most recent call last):
  File "/compile/python-trunk3/Lib/test/test_import.py", line 504, in setUp
self._clean()
  File "/compile/python-trunk3/Lib/test/test_import.py", line 498, in _clean
forget(TESTFN)
  File "/compile/python-trunk3/Lib/test/support.py", line 227, in forget
unlink(source + 'c')
  File "/compile/python-trunk3/Lib/test/support.py", line 186, in unlink
os.unlink(filename)
OSError: [Errno 20] Not a directory: 
'/dev/null/lib/python32.zip/@test_9343_tmp.pyc'

==
ERROR: test_missing_source_legacy (test.test_import.PycacheTests)
--
Traceback (most recent call last):
  File "/compile/python-trunk3/Lib/test/test_import.py", line 504, in setUp
self._clean()
  File "/compile/python-trunk3/Lib/test/test_import.py", line 498, in _clean
forget(TESTFN)
  File "/compile/python-trunk3/Lib/test/support.py", line 227, in forget
unlink(source + 'c')
  File "/compile/python-trunk3/Lib/test/support.py", line 186, in unlink
os.unlink(filename)
OSError: [Errno 20] Not a directory: 
'/dev/null/lib/python32.zip/@test_9343_tmp.pyc'

==
ERROR: test_package___cached__ (test.test_import.PycacheTests)
--
Traceback (most recent call last):
  File "/compile/python-trunk3/Lib/test/test_import.py", line 504, in setUp
self._clean()
  File "/compile/python-trunk3/Lib/test/test_import.py", line 498, in _clean
forget(TESTFN)
  File "/compile/python-trunk3/Lib/test/support.py", line 227, in forget
unlink(source + 'c')
  File "/compile/python-trunk3/Lib/test/support.py", line 186, in unlink
os.unli