Index: xmltodict-0.12.0/tests/test_xmltodict.py =================================================================== --- xmltodict-0.12.0.orig/tests/test_xmltodict.py +++ xmltodict-0.12.0/tests/test_xmltodict.py @@ -8,6 +8,7 @@ except ImportError: from xml.parsers.expat import ParserCreate from xml.parsers import expat +import pyexpat def _encode(s): @@ -167,6 +168,7 @@ class XMLToDictTestCase(unittest.TestCas self.assertEqual(parse(xml), parse(xml.encode('utf-8'))) + @unittest.skipIf(pyexpat.version_info >= (2, 4, 5), reason="Makes no sense with current Expat") def test_namespace_support(self): xml = """ = (2, 4, 5), reason="Makes no sense with current Expat") def test_namespace_collapse(self): xml = """