Skip to content

Commit 230b348

Browse files
Bigger number = recursionError ?
1 parent fcbfaf4 commit 230b348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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(50_000):
3200+
for _ in range(150_000):
32013201
cur = ET.SubElement(cur, 'u')
32023202
with support.infinite_recursion():
32033203
with self.assertRaises(RecursionError):

0 commit comments

Comments
 (0)