def assertIsPoll(self, install):
        if hasattr(select, "poll"):
            self.assertEqual(
                install.__module__, 'twisted.internet.pollreactor')
        else:
            self.assertEqual(
                install.__module__, 'twisted.internet.selectreactor')
Assert the given function will install the poll() reactor, or select()
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/test/test_default.py/PollReactorTests.assertIsPoll