Skip to content

Commit 3879c8f

Browse files
Don't include new max_depth of 2500 in test_recursion
The interpreter will panic at 2500.
1 parent cb8c4a2 commit 3879c8f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/test/test_support.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,9 @@ def recursive_function(depth):
674674
if depth:
675675
recursive_function(depth - 1)
676676

677-
for max_depth in (5, 25, 250, 2500):
677+
# TODO: RUSTPYTHON: Support recursion depth up to 2500
678+
# for max_depth in (5, 25, 250, 2500):
679+
for max_depth in (5, 25, 250):
678680
with support.infinite_recursion(max_depth):
679681
available = support.get_recursion_available()
680682

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy