Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
python-xmltodict
skip-tests-expat-245.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File skip-tests-expat-245.patch of Package python-xmltodict
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 = """ <root xmlns="http://defaultns.com/" @@ -195,6 +197,7 @@ class XMLToDictTestCase(unittest.TestCas res = parse(xml, process_namespaces=True) self.assertEqual(res, d) + @unittest.skipIf(pyexpat.version_info >= (2, 4, 5), reason="Makes no sense with current Expat") def test_namespace_collapse(self): xml = """ <root xmlns="http://defaultns.com/"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor