All pastes #31709 Raw Edit

Someone

public text v1 · immutable
#31709 ·published 2005-11-29 19:58 UTC
rendered paste body
C:\svn\iocp_cleanup2>trial -r iocp twisted.test.test_tcp.CannotBindTestCase.test
ClientBind
Using twisted.internet.iocpreactor reactor
Running 1 tests.
twisted.test.test_tcp.CannotBindTestCase.testClientBind ... *** p=<<class 'twist
ed.internet.iocpreactor.tcp.Port'> of twisted.test.test_tcp.MyServerFactory on 3
888> ***
*** RESOLVE DONE ***

C:\svn\iocp_cleanup2\twisted\test\test_tcp.py:467: exceptions.DeprecationWarning
: Do NOT use spinUntil.  Return a Deferred from your test.
*** RESOLVE DONE ***
self.factory=<twisted.test.test_tcp.MyClientFactory instance at 0x00F30B98>
stopped client factory

C:\svn\iocp_cleanup2\twisted\test\test_tcp.py:477: exceptions.DeprecationWarning
: Do NOT use spinUntil.  Return a Deferred from your test.



*** stopListening
** cf1.protocol.transport = <<class 'twisted.internet.iocpreactor.tcp.ClientSock
et'> to ('127.0.0.1', 3888) at f2e5d0>

C:\svn\iocp_cleanup2\twisted\test\test_tcp.py:488: exceptions.DeprecationWarning
: Do NOT use spinWhile.  Return a Deferred from your test.
p.state=disconnected
**** SocketConnector.connectionLost ***
stopped client factory
[FAIL]

===============================================================================
[FAIL]: twisted.test.test_tcp.CannotBindTestCase.testClientBind

  File "c:\svn\iocp_cleanup2\twisted\internet\defer.py", line 107, in maybeDefer
red
    result = f(*args, **kw)
  File "C:\svn\iocp_cleanup2\twisted\test\test_tcp.py", line 491, in testClientB
ind
    self.assertEquals(cf1.stopped, 1)
  File "c:\svn\iocp_cleanup2\twisted\trial\unittest.py", line 252, in failUnless
Equal
    raise self.failureException(msg or '%r != %r' % (first, second))
twisted.trial.unittest.FailTest: 0 != 1
-------------------------------------------------------------------------------
Ran 1 tests in 0.090s

FAILED (failures=1)

C:\svn\iocp_cleanup2>