@@ -5448,29 +5448,5 @@ def test_same_value_cast_quad_to_int(self, dtype, passing, failing):
54485448
54495449 for val in failing :
54505450 q = np .array ([val ], dtype = QuadPrecDType ())
5451- with pytest .raises (ValueError , match = "could not cast 'same_value'" ):
5452- q .astype (dtype , casting = "same_value" )
5453-
5454- @pytest .mark .parametrize ("dtype" , ["half" , "float16" ,
5455- "float" , "float32" ,
5456- "double" , "float64" ,
5457- "longdouble" ,])
5458- @pytest .mark .parametrize ("values" , [
5459-
5460- ])
5461- def test_same_value_cast_floats (self , dtype , values ):
5462- pass
5463-
5464- @pytest .mark .parametrize ("dtype" , [
5465- "S50" , "U50" , "<U50" , ">U50" , "S100" , "U100" , "<U100" , ">U100" , np .dtypes .StringDType ()])
5466- @pytest .mark .parametrize ("values" , [
5467- ])
5468- def test_same_value_cast_strings_enough_width (self , dtype , values ):
5469- pass
5470-
5471- @pytest .mark .parametrize ("dtype" , [
5472- "S20" , "U20" , "<U20" , ">U20" ])
5473- @pytest .mark .parametrize ("values" , [
5474- ])
5475- def test_same_value_cast_strings_small_width (self , dtype , values ):
5476- pass
5451+ with pytest .raises (ValueError ):
5452+ q .astype (dtype , casting = "same_value" )
0 commit comments