File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Lib/test/test_free_threading Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -127,23 +127,23 @@ def test_deopt_leaking_iterator_list(self):
127127 def make_list_iter (input ):
128128 return iter (list (input ))
129129 self .check_deopt (make_list_iter , 'FOR_ITER_LIST' )
130-
130+
131131 @cpython_only
132132 @requires_specialization_ft
133133 @unittest .skipIf (not Py_GIL_DISABLED , "requires free-threading" )
134134 def test_deopt_leaking_iterator_tuple (self ):
135135 def make_tuple_iter (input ):
136136 return iter (tuple (input ))
137137 self .check_deopt (make_tuple_iter , 'FOR_ITER_TUPLE' )
138-
138+
139139 @cpython_only
140140 @requires_specialization_ft
141141 @unittest .skipIf (not Py_GIL_DISABLED , "requires free-threading" )
142142 def test_deopt_leaking_iterator_range (self ):
143143 def make_range_iter (input ):
144144 return iter (input )
145145 self .check_deopt (make_range_iter , 'FOR_ITER_RANGE' )
146-
146+
147147 @cpython_only
148148 @requires_specialization_ft
149149 @unittest .skipIf (not Py_GIL_DISABLED , "requires free-threading" )
@@ -152,4 +152,3 @@ def gen(input):
152152 for item in input :
153153 yield item
154154 self .check_deopt (gen , 'FOR_ITER_GEN' , is_generator = True )
155-
You can’t perform that action at this time.
0 commit comments