diff --git a/tests/test_sitemap.py b/tests/test_sitemap.py index 1af9766..b892382 100644 --- a/tests/test_sitemap.py +++ b/tests/test_sitemap.py @@ -407,7 +407,7 @@ class TestSitemap(unittest.TestCase): ''' et = parse(io.StringIO(xml)) Sitemap().resource_from_etree(et, Resource) - self.assertIn('Ignored unsupported hash type (UNKNOWN-TYPE)', lc.records[-1].msg) + self.assertIn('Ignored unsupported hash type UNKNOWN-TYPE', lc.records[-1].msg) def test_32_md_from_etree(self): """Test md_from_etree method."""