Skip to content

Commit b1d6231

Browse files
authored
gh-149285: Increase recursion depth for test_xml_etree from 150k to 500k (#149286)
1 parent 98afa03 commit b1d6231

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_xml_etree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3197,7 +3197,7 @@ def test_deeply_nested_deepcopy(self):
31973197
# This should raise a RecursionError and not crash.
31983198
# See https://github.com/python/cpython/issues/148801.
31993199
root = cur = ET.Element('s')
3200-
for _ in range(150_000):
3200+
for _ in range(500_000):
32013201
cur = ET.SubElement(cur, 'u')
32023202
with support.infinite_recursion():
32033203
with self.assertRaises(RecursionError):

0 commit comments

Comments
 (0)