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

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