File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1129,7 +1129,7 @@ def test_ast_recursion_limit(self):
11291129 success_depth = 1200
11301130 if _testinternalcapi is not None :
11311131 remaining = _testinternalcapi .get_c_recursion_remaining ()
1132- success_depth = min (remaining , remaining )
1132+ success_depth = min (success_depth , remaining )
11331133
11341134 def check_limit (prefix , repeated ):
11351135 expect_ok = prefix + repeated * success_depth
Original file line number Diff line number Diff line change @@ -3040,7 +3040,7 @@ def test_trace_lots_of_globals(self):
30403040 count = 1000
30413041 if _testinternalcapi is not None :
30423042 remaining = _testinternalcapi .get_c_recursion_remaining ()
3043- count = min (remaining , count )
3043+ count = min (count , remaining )
30443044
30453045 code = """if 1:
30463046 def f():
You can’t perform that action at this time.
0 commit comments