GH-112215: Increase C recursion limit for non debug builds (GH-113397)

This commit is contained in:
Mark Shannon 2023-12-22 14:25:25 +00:00 committed by GitHub
parent 5f665e99e0
commit 45e09f921b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 33 additions and 21 deletions

View file

@ -2535,7 +2535,7 @@ class BadElementTest(ElementTestCase, unittest.TestCase):
e.extend([ET.Element('bar')])
self.assertRaises(ValueError, e.remove, X('baz'))
@support.infinite_recursion(25)
@support.infinite_recursion()
def test_recursive_repr(self):
# Issue #25455
e = ET.Element('foo')