File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -992,7 +992,7 @@ def next(self):
992992 @skip_wasi_stack_overflow ()
993993 @skip_emscripten_stack_overflow ()
994994 def test_ast_recursion_limit (self ):
995- crash_depth = 500_000
995+ crash_depth = 100_000
996996 success_depth = 200
997997 if _testinternalcapi is not None :
998998 remaining = _testinternalcapi .get_c_recursion_remaining ()
Original file line number Diff line number Diff line change @@ -728,7 +728,7 @@ def test_yet_more_evil_still_undecodable(self):
728728 def test_compiler_recursion_limit (self ):
729729 # Compiler frames are small
730730 limit = 100
731- crash_depth = limit * 5000
731+ crash_depth = limit * 1000
732732 success_depth = limit
733733
734734 def check_limit (prefix , repeated , mode = "single" ):
@@ -1040,7 +1040,7 @@ def test_path_like_objects(self):
10401040 def test_stack_overflow (self ):
10411041 # bpo-31113: Stack overflow when compile a long sequence of
10421042 # complex statements.
1043- compile ("if a: b\n " * 200000 , "<dummy>" , "exec" )
1043+ compile ("if a: b\n " * 100000 , "<dummy>" , "exec" )
10441044
10451045 # Multiple users rely on the fact that CPython does not generate
10461046 # bytecode for dead code blocks. See bpo-37500 for more context.
You can’t perform that action at this time.
0 commit comments