[Twisted-Python] more on flow testThreaded

Wari Wahab wari at home.wari.org
Fri Jun 27 02:52:54 MDT 2003


cce CVS wrote:

>Modified files:
>Twisted/twisted/flow/threads.py 1.3 1.4
>
One more thing, here's a traceback (when pressing CTRL-C), hope it helps.

    testThreaded ... Traceback (most recent call last):
  File "/usr/bin/trial", line 35, in ?
    run()
  File "/usr/lib/python2.2/site-packages/twisted/scripts/trial.py", line 
311, in run
    suite.run(reporter, config['random'])
  File "/usr/lib/python2.2/site-packages/twisted/trial/unittest.py", 
line 313, in run
    test.runTests(output)
  File "/usr/lib/python2.2/site-packages/twisted/trial/runner.py", line 
110, in runTests
    method, self.runTest).run()
  File "/usr/lib/python2.2/site-packages/twisted/trial/unittest.py", 
line 209, in run
    self.setUp_and_test()
  File "/usr/lib/python2.2/site-packages/twisted/trial/unittest.py", 
line 184, in setUp_and_test
    def setUp_and_test(self): self._runPhase(self._main)
  File "/usr/lib/python2.2/site-packages/twisted/trial/unittest.py", 
line 160, in _runPhase
    stage(*args, **kwargs)
  File "/usr/lib/python2.2/site-packages/twisted/trial/unittest.py", 
line 182, in _main
    self.runner(self.method)
  File "/usr/lib/python2.2/site-packages/twisted/trial/runner.py", line 
100, in runTest
    method()
  File "/usr/lib/python2.2/site-packages/twisted/test/test_flow.py", 
line 401, in testThreaded
    self.assertEquals(result, unittest.deferredResult(d))
  File "/usr/lib/python2.2/site-packages/twisted/trial/util.py", line 
70, in deferredResult
    result = _getDeferredResult(d, timeout)
  File "/usr/lib/python2.2/site-packages/twisted/trial/util.py", line 
63, in _getDeferredResult
    reactor.iterate()
  File "/usr/lib/python2.2/site-packages/twisted/internet/base.py", line 
257, in iterate
    self.doIteration(delay)
  File "/usr/lib/python2.2/site-packages/twisted/internet/default.py", 
line 436, in doSelect
    [], timeout)





More information about the Twisted-Python mailing list