File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -755,7 +755,7 @@ def next(self):
755755 @skip_wasi_stack_overflow ()
756756 @skip_emscripten_stack_overflow ()
757757 def test_ast_recursion_limit (self ):
758- crash_depth = 300_000
758+ crash_depth = 500_000
759759 success_depth = 200
760760 if _testinternalcapi is not None :
761761 remaining = _testinternalcapi .get_c_recursion_remaining ()
Original file line number Diff line number Diff line change @@ -74,13 +74,13 @@ def test_highly_nested_objects_decoding(self):
7474 # accelerations are used. See #12017
7575 with self .assertRaises (RecursionError ):
7676 with support .infinite_recursion ():
77- self .loads ('{"a":' * 100000 + '1' + '}' * 100000 )
77+ self .loads ('{"a":' * 200000 + '1' + '}' * 200000 )
7878 with self .assertRaises (RecursionError ):
7979 with support .infinite_recursion ():
80- self .loads ('{"a":' * 100000 + '[1]' + '}' * 100000 )
80+ self .loads ('{"a":' * 200000 + '[1]' + '}' * 200000 )
8181 with self .assertRaises (RecursionError ):
8282 with support .infinite_recursion ():
83- self .loads ('[' * 100000 + '1' + ']' * 100000 )
83+ self .loads ('[' * 200000 + '1' + ']' * 200000 )
8484
8585 @support .skip_wasi_stack_overflow ()
8686 @support .skip_emscripten_stack_overflow ()
You can’t perform that action at this time.
0 commit comments