def test_requireModuleRequestedImport(self):
        """
        When module import succeed it returns the module and not the default
        value.
        """
        from twisted.python import monkey
        default = object()

        self.assertIs(
            reflect.requireModule('twisted.python.monkey', default=default),
            monkey,
            )

        When module import succeed it returns the module and not the default
        value.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_reflect.py