Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:openSUSE:Factory:rpmlint
python-lxml
skip-test-under-libxml2-2.11.1.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File skip-test-under-libxml2-2.11.1.patch of Package python-lxml
Index: lxml-5.1.0/src/lxml/tests/test_io.py =================================================================== --- lxml-5.1.0.orig/src/lxml/tests/test_io.py +++ lxml-5.1.0/src/lxml/tests/test_io.py @@ -12,6 +12,7 @@ from .common_imports import ( read_file, write_to_file, BytesIO, tmpfile ) +import lxml class _IOTestCaseBase(HelperTestCase): """(c)ElementTree compatibility for IO functions/methods @@ -305,6 +306,7 @@ class _IOTestCaseBase(HelperTestCase): os.unlink(f.name) self.assertEqual(utext, root.text) + @unittest.skipIf(lxml.etree.LIBXML_VERSION >= (2, 11, 1), "libxml2 regression has issues with utf16") def test_iterparse_utf16_bom(self): utext = 'Søk på nettet' uxml = '<?xml version="1.0" encoding="UTF-16"?><p>%s</p>' % utext
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