22
22
23
23
class TestAsType :
24
24
@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 ())
26
26
@pytest .mark .parametrize ("arr_dtype" , get_all_dtypes (no_none = True ))
27
27
@pytest .mark .parametrize (
28
28
"arr" ,
@@ -377,7 +377,7 @@ def test_print_dpnp_zero_shape():
377
377
@pytest .mark .parametrize ("func" , [bool , float , int , complex ])
378
378
@pytest .mark .parametrize ("shape" , [tuple (), (1 ,), (1 , 1 ), (1 , 1 , 1 )])
379
379
@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 )
381
381
)
382
382
def test_scalar_type_casting (func , shape , dtype ):
383
383
a = numpy .full (shape , 5 , dtype = dtype )
@@ -393,7 +393,7 @@ def test_scalar_type_casting(func, shape, dtype):
393
393
)
394
394
@pytest .mark .parametrize ("shape" , [tuple (), (1 ,), (1 , 1 ), (1 , 1 , 1 )])
395
395
@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 )
397
397
)
398
398
def test_scalar_type_casting_by_method (method , shape , dtype ):
399
399
a = numpy .full (shape , 4.7 , dtype = dtype )
0 commit comments