[Python-Dev] Test failures on Python 2.7 (trunk)

Chris Withers chris at simplistix.co.uk
Sat Apr 11 12:12:31 CEST 2009


Hi All,

Got these when running from checkout on Mac OS:

Could not find '/Users/chris/py2k/Lib/test' in sys.path to remove it
...
test test_asynchat produced unexpected output:
**********************************************************************
error: uncaptured python exception, closing channel 
<test.test_asynchat.echo_client at 0x263a4b8> (<class 
'socket.error'>:[Errno 9] Bad file descriptor 
[/Users/chris/py2k/Lib/asyncore.py|readwrite|107] 
[/Users/chris/py2k/Lib/asyncore.py|handle_expt_event|441] 
[<string>|getsockopt|1] [/Users/chris/py2k/Lib/socket.py|_dummy|165])
...(lots of repeats of the above)
**********************************************************************
test_asyncore
test test_asyncore failed -- Traceback (most recent call last):
   File "/Users/chris/py2k/Lib/test/test_asyncore.py", line 144, in 
test_readwrite
     self.assertEqual(tobj.read, True)
AssertionError: False != True
...
test test_macostools failed -- Traceback (most recent call last):
   File "/Users/chris/py2k/Lib/test/test_macostools.py", line 90, in 
test_mkalias_relative
     macostools.mkalias(test_support.TESTFN, TESTFN2, sys.prefix)
   File "/Users/chris/py2k/Lib/plat-mac/macostools.py", line 40, in mkalias
     relativefsr = File.FSRef(relative)
Error: (-35, 'no such volume')

Should I expect these? If so, why?

cheers,

Chris


More information about the Python-Dev mailing list