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

R. David Murray rdmurray at bitdance.com
Sat Apr 11 15:14:30 CEST 2009

On Sat, 11 Apr 2009 at 21:10, Nick Coghlan wrote:
> Chris Withers wrote:
>> 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
> I'm getting the asyncore failure on Linux as well (no unexpected output
> though - just the final exception).

Ditto.  I looked at that asyncore traceback yesterday.  The way that
the flags argument to the readwrite call are propagated to the object
was changed, but the tests were not updated to match.  I haven't yet
gotten as far as figuring out why the changes were made, but svn blames
josiah.carlson for the changes (or at least the most recent ones).


More information about the Python-Dev mailing list