def test_cleanUpThreadPoolEvenBeforeReactorIsRun(self):
        reactor = self.buildReactor()
        threadPoolRef = ref(reactor.getThreadPool())
        reactor.fireSystemEvent("shutdown")
        gc.collect()
        self.assertIdentical(threadPoolRef(), None)
When the reactor has its shutdown event fired before it is run, the
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/test/test_threads.py/ThreadTestsBuilder.test_cleanUpThreadPoolEvenBeforeReactorIsRun