[Twisted-Python] leakage between tests with trial when code under test uses deferToThread

Chris Withers chris at withers.org
Fri Nov 23 08:58:34 MST 2018


Hi All,

Does trial do anything to clean up stuff that's been passed to 
deferToThread?

I'm seeing what looks like leakage between tests where stuff that is 
deferred to a thread from a LoopingCall is resulting in a DelayedCall 
ending up in the reactor for the next test.
Does that ring any bells?

cheers,

Chris



More information about the Twisted-Python mailing list