Skip to content

Commit 5f056eb

Browse files
committed
Increase depth for pyexpat recursion test
1 parent c90e423 commit 5f056eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_pyexpat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ def test_trigger_leak(self):
707707
def test_deeply_nested_content_model(self):
708708
# This should raise a RecursionError and not crash.
709709
# See https://github.com/python/cpython/issues/145986.
710-
N = 500_000
710+
N = 800_000
711711
data = (
712712
b'<!DOCTYPE root [\n<!ELEMENT root '
713713
+ b'(a, ' * N + b'a' + b')' * N

0 commit comments

Comments
 (0)