def test_filename(self):
        """
        An L{XMLFile} with a filename returns a useful repr().
        """
        fname = "/tmp/fake.xml"
        self.assertEqual('<XMLFile of %r>' % (fname,), repr(XMLFile(fname)))

        An L{XMLFile} with a filename returns a useful repr().
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_template.py