]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-111811: Fix test_recursive_repr for WASI (GH-112130) (#112132)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 16 Nov 2023 17:10:02 +0000 (18:10 +0100)
committerGitHub <noreply@github.com>
Thu, 16 Nov 2023 17:10:02 +0000 (18:10 +0100)
gh-111811: Fix test_recursive_repr for WASI (GH-112130)
(cherry picked from commit 7218bac8c84115a8e9a18a4a8f3146235068facb)

Co-authored-by: Kushal Das <mail@kushaldas.in>
Lib/test/test_xml_etree.py

index c095dd0b59300ca4190c2286383d5e752e6d8856..57f5de34fdc1083f33e2413aba7a6593cc9df5f2 100644 (file)
@@ -2564,6 +2564,7 @@ class BadElementTest(ElementTestCase, unittest.TestCase):
         e.extend([ET.Element('bar')])
         self.assertRaises(ValueError, e.remove, X('baz'))
 
+    @support.infinite_recursion(25)
     def test_recursive_repr(self):
         # Issue #25455
         e = ET.Element('foo')