def test_missingTemplateLoaderRepr(self):
        """
        A L{MissingTemplateLoader} instance can be repr()'d without error.
        """
        class PrettyReprElement(Element):
            def __repr__(self):
                return 'Pretty Repr Element'
        self.assertIn('Pretty Repr Element',
                      repr(MissingTemplateLoader(PrettyReprElement())))

        A L{MissingTemplateLoader} instance can be repr()'d without error.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_template.py