[3.12] gh-111811: Fix test_recursive_repr for WASI (GH-112130) (#112131)

gh-111811: Fix test_recursive_repr for WASI (GH-112130)
(cherry picked from commit 7218bac8c8)

Co-authored-by: Kushal Das <mail@kushaldas.in>
This commit is contained in:
Miss Islington (bot) 2023-11-16 18:11:33 +01:00 committed by GitHub
parent 458a3c02e5
commit 3f2cdbe666
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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')