def test_isInIOThread(self):
        results = []
        reactor = self.buildReactor()
        def check():
            results.append(isInIOThread())
            reactor.stop()
        reactor.callWhenRunning(check)
        self.runReactor(reactor)
        self.assertEqual([True], results)
Return the content of the given blob.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/test/test_threads.py/ThreadTestsBuilder.test_isInIOThread--crossover with--dataset/ETHPy150Open devstructure/blueprint/blueprint/git.py/content