From 7218bac8c84115a8e9a18a4a8f3146235068facb Mon Sep 17 00:00:00 2001 From: Kushal Das Date: Wed, 15 Nov 2023 23:28:58 +0100 Subject: [PATCH] gh-111811: Fix test_recursive_repr for WASI (#112130) --- Lib/test/test_xml_etree.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_xml_etree.py b/Lib/test/test_xml_etree.py index 6d413aa68a338d..b9e7937b0bbc00 100644 --- a/Lib/test/test_xml_etree.py +++ b/Lib/test/test_xml_etree.py @@ -2535,6 +2535,7 @@ def __eq__(self, o): 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')