def test_linux(self):
        """
        L{_getInstallFunction} chooses the epoll reactor on Linux, or poll if
        epoll is unavailable.
        """
        install = _getInstallFunction(linux)
        if requireModule('twisted.internet.epollreactor') is None:
            self.assertIsPoll(install)
        else:
            self.assertEqual(
                install.__module__, 'twisted.internet.epollreactor')

        L{_getInstallFunction} chooses the epoll reactor on Linux, or poll if
        epoll is unavailable.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/test/test_default.py