def test_namedModuleLookup(self):
        """
        L{namedModule} should return the module object for the name it is
        passed.
        """
        from twisted.python import monkey
        self.assertIs(
            reflect.namedModule("twisted.python.monkey"), monkey)

        L{namedModule} should return the module object for the name it is
        passed.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_reflect.py