Ticket #6174 enhancement closed duplicate

Opened 18 months ago

Last modified 18 months ago

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: jml Branch:
Author: Launchpad Bug:


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


Changed 18 months ago by DefaultCC Plugin

  • cc jml added


Changed 18 months ago by exarkun

  • status changed from new to closed
  • resolution set to duplicate

Duplicate of #962

Note: See TracTickets for help on using tickets.