[Twisted-Python] Test failures

Jp Calderone exarkun at intarweb.us
Tue Jan 21 22:59:01 EST 2003


  Been playing around with different test orders (courtesy trials --random
parameter) and I've found that with a seed of 4:

===============================================================================
FAILURE: testWakeUp (twisted.test.test_internet.InterfaceTestCase)
-------------------------------------------------------------------------------
Traceback (most recent call last):
   File "/home/exarkun/projects/python/Twisted/twisted/trial/unittest.py", line 122, in runOneTest
    method(testCase)
   File "/home/exarkun/projects/python/Twisted/twisted/test/test_internet.py", line 266, in testWakeUp
    self.assertApproximates(time.time(), start + 0.5, 0.5)
   File "/home/exarkun/projects/python/Twisted/twisted/trial/unittest.py", line 62, in assertApproximates
    raise AssertionError, (msg or "%s ~== %s" % (first, second))
 AssertionError: 1043207178.43 ~== 1043207173.94
===============================================================================
ERROR: testFailedRETR (twisted.test.test_ftp.FTPClientTests)
-------------------------------------------------------------------------------
Traceback! exceptions.AttributeError, TCPClient instance has no attribute 'connector'
/home/exarkun/projects/python/Twisted/twisted/internet/default.py:566:doSelect
/home/exarkun/projects/python/Twisted/twisted/internet/tcp.py:250:doConnect
===============================================================================
ERROR: testFailedRETR (twisted.test.test_ftp.FTPClientTests)
-------------------------------------------------------------------------------
Traceback! exceptions.AttributeError, 'NoneType' object has no attribute 'connectionLost'
/home/exarkun/projects/python/Twisted/twisted/internet/default.py:579:doSelect
/home/exarkun/projects/python/Twisted/twisted/internet/tcp.py:258:connectionLost
/home/exarkun/projects/python/Twisted/twisted/internet/tcp.py:140:connectionLost
-------------------------------------------------------------------------------

consistently comes up.

  Jp

-- 
"There is no reason for any individual to have a computer in their
home."
                -- Ken Olson, President of DEC, World Future Society
                   Convention, 1977
--
 12:00am up 36 days, 9:48, 4 users, load average: 0.10, 0.14, 0.14
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20030121/beeea534/attachment.pgp 


More information about the Twisted-Python mailing list