[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 7218bac8c8)

Co-authored-by: Kushal Das <mail@kushaldas.in>
This commit is contained in:
Miss Islington (bot) 2023-11-16 18:10:02 +01:00 committed by GitHub
parent b4f3a62383
commit 533da5ed67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -2564,6 +2564,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')