def test_installNotAvailableReactor(self):
        """
        Test that L{reactors.installReactor} raises an exception when asked to
        install a reactor which doesn't work in this environment.
        """
        def install():
            raise ImportError("Missing foo bar")
        name = 'fakereactortest'
        package = __name__
        description = 'description'
        self.pluginResults = [FakeReactor(install, name, package, description)]
        self.assertRaises(ImportError, reactors.installReactor, name)

        Test that L{reactors.installReactor} raises an exception when asked to
        install a reactor which doesn't work in this environment.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_application.py