@@ -989,7 +989,7 @@ def next(self):
989989 enum ._test_simple_enum (_Precedence , _ast_unparse ._Precedence )
990990
991991 @support .cpython_only
992- @skip_if_unlimited_stack_size ()
992+ @skip_if_unlimited_stack_size
993993 @skip_wasi_stack_overflow ()
994994 @skip_emscripten_stack_overflow ()
995995 def test_ast_recursion_limit (self ):
@@ -1128,7 +1128,7 @@ def test_pickling(self):
11281128 ast2 = pickle .loads (pickle .dumps (tree , protocol ))
11291129 self .assertEqual (to_tuple (ast2 ), to_tuple (tree ))
11301130
1131- @skip_if_unlimited_stack_size ()
1131+ @skip_if_unlimited_stack_size
11321132 def test_copy_with_parents (self ):
11331133 # gh-120108
11341134 code = """
@@ -1976,7 +1976,7 @@ def test_level_as_none(self):
19761976 exec (code , ns )
19771977 self .assertIn ('sleep' , ns )
19781978
1979- @skip_if_unlimited_stack_size ()
1979+ @skip_if_unlimited_stack_size
19801980 @skip_emscripten_stack_overflow ()
19811981 def test_recursion_direct (self ):
19821982 e = ast .UnaryOp (op = ast .Not (), lineno = 0 , col_offset = 0 , operand = ast .Constant (1 ))
@@ -1985,7 +1985,7 @@ def test_recursion_direct(self):
19851985 with support .infinite_recursion ():
19861986 compile (ast .Expression (e ), "<test>" , "eval" )
19871987
1988- @skip_if_unlimited_stack_size ()
1988+ @skip_if_unlimited_stack_size
19891989 @skip_emscripten_stack_overflow ()
19901990 def test_recursion_indirect (self ):
19911991 e = ast .UnaryOp (op = ast .Not (), lineno = 0 , col_offset = 0 , operand = ast .Constant (1 ))
0 commit comments