Opened 6 years ago

Closed 6 years ago

#6174 enhancement closed duplicate (duplicate)

trial should warn when there are still running threads in the reactor threadPool

Reported by: Tom Prince Owned by:
Priority: normal Milestone:
Component: trial Keywords:
Cc: Jonathan Lange Branch:


The following code demonstrates that it doesn't.

from twisted.trial.unittest import TestCase
from twisted.internet import reactor, defer
from time import sleep

class Test(TestCase):
    def test_test(self):
        d = defer.Deferred()
        def thd():
            reactor.callFromThread(d.callback, None)
            print "HERE"
        return d

Change History (2)

comment:1 Changed 6 years ago by DefaultCC Plugin

Cc: Jonathan Lange added

comment:2 Changed 6 years ago by Jean-Paul Calderone

Resolution: duplicate
Status: newclosed

Duplicate of #962

Note: See TracTickets for help on using tickets.