@@ -142,7 +142,7 @@ def test_result_values(self):
142142 ], ids = ["0d" , "2d" ])
143143 def test_allnans (self , axis , dtype , array ):
144144 if axis is not None and array .ndim == 0 :
145- pytest .skip (f "`axis != None` not supported for 0d arrays" )
145+ pytest .skip ("`axis != None` not supported for 0d arrays" )
146146
147147 array = array .astype (dtype )
148148 match = "All-NaN slice encountered"
@@ -294,7 +294,7 @@ def test_result_values(self):
294294 ], ids = ["0d" , "2d" ])
295295 def test_allnans (self , axis , dtype , array ):
296296 if axis is not None and array .ndim == 0 :
297- pytest .skip (f "`axis != None` not supported for 0d arrays" )
297+ pytest .skip ("`axis != None` not supported for 0d arrays" )
298298
299299 array = array .astype (dtype )
300300 for func in self .nanfuncs :
@@ -575,7 +575,7 @@ class TestNanFunctions_SumProd(SharedNanFunctionsTestsMixin):
575575 ], ids = ["0d" , "2d" ])
576576 def test_allnans (self , axis , dtype , array ):
577577 if axis is not None and array .ndim == 0 :
578- pytest .skip (f "`axis != None` not supported for 0d arrays" )
578+ pytest .skip ("`axis != None` not supported for 0d arrays" )
579579
580580 array = array .astype (dtype )
581581 for func , identity in zip (self .nanfuncs , [0 , 1 ]):
@@ -634,7 +634,7 @@ class TestNanFunctions_CumSumProd(SharedNanFunctionsTestsMixin):
634634 ], ids = ["0d" , "2d" ])
635635 def test_allnans (self , axis , dtype , array ):
636636 if axis is not None and array .ndim == 0 :
637- pytest .skip (f "`axis != None` not supported for 0d arrays" )
637+ pytest .skip ("`axis != None` not supported for 0d arrays" )
638638
639639 array = array .astype (dtype )
640640 for func , identity in zip (self .nanfuncs , [0 , 1 ]):
@@ -744,7 +744,7 @@ def test_ddof_too_big(self):
744744 ], ids = ["0d" , "2d" ])
745745 def test_allnans (self , axis , dtype , array ):
746746 if axis is not None and array .ndim == 0 :
747- pytest .skip (f "`axis != None` not supported for 0d arrays" )
747+ pytest .skip ("`axis != None` not supported for 0d arrays" )
748748
749749 array = array .astype (dtype )
750750 match = "(Degrees of freedom <= 0 for slice.)|(Mean of empty slice)"
@@ -1181,7 +1181,7 @@ def gen_weights(d):
11811181 ], ids = ["0d" , "2d" ])
11821182 def test_allnans (self , axis , dtype , array ):
11831183 if axis is not None and array .ndim == 0 :
1184- pytest .skip (f "`axis != None` not supported for 0d arrays" )
1184+ pytest .skip ("`axis != None` not supported for 0d arrays" )
11851185
11861186 array = array .astype (dtype )
11871187 with pytest .warns (RuntimeWarning , match = "All-NaN slice encountered" ):
@@ -1356,7 +1356,7 @@ def test_no_p_overwrite(self):
13561356 ], ids = ["0d" , "2d" ])
13571357 def test_allnans (self , axis , dtype , array ):
13581358 if axis is not None and array .ndim == 0 :
1359- pytest .skip (f "`axis != None` not supported for 0d arrays" )
1359+ pytest .skip ("`axis != None` not supported for 0d arrays" )
13601360
13611361 array = array .astype (dtype )
13621362 with pytest .warns (RuntimeWarning , match = "All-NaN slice encountered" ):
0 commit comments