summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-11-16 17:10:02 (GMT)
committerGitHub <noreply@github.com>2023-11-16 17:10:02 (GMT)
commit533da5ed67249305e26e97aa0b8d32f8045cde26 (patch)
treeea76a899c668225f64907136dff702648787ed8c /Lib
parentb4f3a62383dfad182cd848acef4a530ecd4f9132 (diff)
downloadcpython-533da5ed67249305e26e97aa0b8d32f8045cde26.zip
cpython-533da5ed67249305e26e97aa0b8d32f8045cde26.tar.gz
cpython-533da5ed67249305e26e97aa0b8d32f8045cde26.tar.bz2
[3.11] gh-111811: Fix test_recursive_repr for WASI (GH-112130) (#112132)
gh-111811: Fix test_recursive_repr for WASI (GH-112130) (cherry picked from commit 7218bac8c84115a8e9a18a4a8f3146235068facb) Co-authored-by: Kushal Das <mail@kushaldas.in>
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_xml_etree.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_xml_etree.py b/Lib/test/test_xml_etree.py
index c095dd0..57f5de3 100644
--- a/Lib/test/test_xml_etree.py
+++ b/Lib/test/test_xml_etree.py
@@ -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')