Skip to content

Commit 517c985

Browse files
committed
Increase nest level
1 parent 58f8bbc commit 517c985

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

distributed/protocol/tests/test_protocol.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ def gen_deeply_nested(depth):
169169
return d
170170

171171
# Note: Python <=3.13 already fails with 2x the recursion limit;
172-
# 3.14 keeps working until 14x for some reason
173-
msg = gen_deeply_nested(sys.getrecursionlimit() * 14)
172+
# 3.14 keeps working until much later (and the exact limit changes by platform)
173+
msg = gen_deeply_nested(sys.getrecursionlimit() * 20)
174174

175175
with pytest.raises(RecursionError):
176176
copy.deepcopy(msg)

0 commit comments

Comments
 (0)