'Assert the given function will install the poll() reactor, or select()
if poll() is unavailable.'

def assertIsPoll(self, install):

    if hasattr(select, 'poll'):
        self.assertEqual(install.__module__, 'twisted.internet.pollreactor')
    else:
        self.assertEqual(install.__module__, 'twisted.internet.selectreactor')
