def test_callFromThread(self):
        reactor = self.buildReactor()
        result = []

        def threadCall():
            result.append(threading.currentThread())
            reactor.stop()
        reactor.callLater(0, reactor.callInThread,
                          reactor.callFromThread, threadCall)
        self.runReactor(reactor, 5)

        self.assertEquals(result, [threading.currentThread()])
A function scheduled with L{IReactorThreads.callFromThread} invoked
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/test/test_threads.py/ThreadTestsBuilder.test_callFromThread