2222
2323class TestAsType :
2424 @pytest .mark .usefixtures ("suppress_complex_warning" )
25- @pytest .mark .parametrize ("res_dtype" , get_all_dtypes (no_none = True ))
25+ @pytest .mark .parametrize ("res_dtype" , get_all_dtypes ())
2626 @pytest .mark .parametrize ("arr_dtype" , get_all_dtypes (no_none = True ))
2727 @pytest .mark .parametrize (
2828 "arr" ,
@@ -377,7 +377,7 @@ def test_print_dpnp_zero_shape():
377377@pytest .mark .parametrize ("func" , [bool , float , int , complex ])
378378@pytest .mark .parametrize ("shape" , [tuple (), (1 ,), (1 , 1 ), (1 , 1 , 1 )])
379379@pytest .mark .parametrize (
380- "dtype" , get_all_dtypes (no_none = True , no_float16 = False , no_complex = True )
380+ "dtype" , get_all_dtypes (no_float16 = False , no_complex = True )
381381)
382382def test_scalar_type_casting (func , shape , dtype ):
383383 a = numpy .full (shape , 5 , dtype = dtype )
@@ -393,7 +393,7 @@ def test_scalar_type_casting(func, shape, dtype):
393393)
394394@pytest .mark .parametrize ("shape" , [tuple (), (1 ,), (1 , 1 ), (1 , 1 , 1 )])
395395@pytest .mark .parametrize (
396- "dtype" , get_all_dtypes (no_none = True , no_float16 = False , no_complex = True )
396+ "dtype" , get_all_dtypes (no_float16 = False , no_complex = True )
397397)
398398def test_scalar_type_casting_by_method (method , shape , dtype ):
399399 a = numpy .full (shape , 4.7 , dtype = dtype )
0 commit comments