def test_linux(self):
        """
        L{_getInstallFunction} chooses the epoll reactor on Linux, or poll if
        epoll is unavailable.
        """
        install = _getInstallFunction(linux)
        try:
            from twisted.internet import epollreactor
        except __HOLE__:
            self.assertIsPoll(install)
        else:
            self.assertEqual(
                install.__module__, 'twisted.internet.epollreactor')
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/test/test_default.py/PollReactorTests.test_linux