We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3638a5 commit 774efb5Copy full SHA for 774efb5
Lib/test/test_ast/test_ast.py
@@ -747,9 +747,9 @@ def next(self):
747
@support.cpython_only
748
@skip_emscripten_stack_overflow()
749
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)
+ fail_depth = support.exceeds_recursion_limit() * 2
+ crash_depth = 200_000
+ success_depth = support.get_c_recursion_limit()
753
if _testinternalcapi is not None:
754
remaining = _testinternalcapi.get_c_recursion_remaining()
755
success_depth = min(success_depth, remaining)
0 commit comments