File skip-test-under-libexpat-2.6.0.patch of Package saltbundlepy-lxml

Index: lxml-4.9.3/src/lxml/tests/test_elementtree.py
===================================================================
--- lxml-4.9.3.orig/src/lxml/tests/test_elementtree.py
+++ lxml-4.9.3/src/lxml/tests/test_elementtree.py
@@ -4396,8 +4396,10 @@ class _XMLPullParserTest(unittest.TestCa
         self.assertEqual([(action, elem.tag) for action, elem in events],
                          expected)
 
+    # Fails with chunk_size in [1, 5], so replacing with 22,
+    # gh#python/cpython#115289
     def test_simple_xml(self):
-        for chunk_size in (None, 1, 5):
+        for chunk_size in (None, 22):
             #with self.subTest(chunk_size=chunk_size):
                 parser = self.etree.XMLPullParser()
                 self.assert_event_tags(parser, [])
openSUSE Build Service is sponsored by