Skip to content

Commit 774efb5

Browse files
committed
Tweak AST test numbers
1 parent b3638a5 commit 774efb5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_ast/test_ast.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -747,9 +747,9 @@ def next(self):
747747
@support.cpython_only
748748
@skip_emscripten_stack_overflow()
749749
def test_ast_recursion_limit(self):
750-
fail_depth = support.exceeds_recursion_limit()
751-
crash_depth = 100_000
752-
success_depth = int(support.get_c_recursion_limit() * 0.6)
750+
fail_depth = support.exceeds_recursion_limit() * 2
751+
crash_depth = 200_000
752+
success_depth = support.get_c_recursion_limit()
753753
if _testinternalcapi is not None:
754754
remaining = _testinternalcapi.get_c_recursion_remaining()
755755
success_depth = min(success_depth, remaining)

0 commit comments

Comments
 (0)