summaryrefslogtreecommitdiff
path: root/dev-python/lxml/files/lxml-4.9.3-tests-py3.11-cython3.patch
blob: 1fb466ab810f0ddbdb47f83dc223f7fa365d0c24 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/src/lxml/tests/test_errors.py
+++ b/src/lxml/tests/test_errors.py
@@ -25,6 +25,7 @@ class ErrorTestCase(HelperTestCase):
     def test_empty_parse(self):
         self.assertRaises(etree.XMLSyntaxError, etree.fromstring, '')
 
+    @unittest.skipIf(sys.version_info >= (3, 11), "Known GC failure (https://bugzilla.redhat.com/show_bug.cgi?id=2051510)")
     @unittest.skipIf(IS_PYPY, "broken on pypy")
     def test_element_cyclic_gc_none(self):
         # test if cyclic reference can crash etree