gh-111811: Fix test_recursive_repr for WASI (#112130)

This commit is contained in:
Kushal Das 2023-11-15 23:28:58 +01:00 committed by GitHub
parent d9fd33a869
commit 7218bac8c8
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')