From: Kushal Das Date: Wed, 15 Nov 2023 22:28:58 +0000 (+0100) Subject: gh-111811: Fix test_recursive_repr for WASI (#112130) X-Git-Tag: v3.13.0a2~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7218bac8c84115a8e9a18a4a8f3146235068facb;p=thirdparty%2FPython%2Fcpython.git gh-111811: Fix test_recursive_repr for WASI (#112130) --- diff --git a/Lib/test/test_xml_etree.py b/Lib/test/test_xml_etree.py index 6d413aa68a33..b9e7937b0bbc 100644 --- a/Lib/test/test_xml_etree.py +++ b/Lib/test/test_xml_etree.py @@ -2535,6 +2535,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')