88 get_all_dtypes ,
99 get_float_complex_dtypes ,
1010 get_float_dtypes ,
11+ get_integer_float_dtypes ,
1112)
1213
1314
@@ -83,7 +84,7 @@ def check_raises(func_name, exception, *args, **kwargs):
8384 check_raises (func , TypeError , [0 , 1 , 2 , 3 ])
8485
8586
86- @pytest .mark .parametrize ("dtype" , get_all_dtypes ( no_bool = True , no_complex = True ))
87+ @pytest .mark .parametrize ("dtype" , get_integer_float_dtypes ( ))
8788def test_allclose (dtype ):
8889 a = numpy .random .rand (10 )
8990 b = a + numpy .random .rand (10 ) * 1e-8
@@ -508,7 +509,7 @@ def test_infinity_sign_errors(func):
508509 getattr (dpnp , func )(x , out = out )
509510
510511
511- @pytest .mark .parametrize ("dtype" , get_all_dtypes ( no_bool = True , no_complex = True ))
512+ @pytest .mark .parametrize ("dtype" , get_integer_float_dtypes ( ))
512513@pytest .mark .parametrize (
513514 "rtol" , [1e-05 , dpnp .array (1e-05 ), dpnp .full (10 , 1e-05 )]
514515)
@@ -549,7 +550,7 @@ def test_array_equiv(a, b):
549550 assert_equal (result , expected )
550551
551552
552- @pytest .mark .parametrize ("dtype" , get_all_dtypes ( no_bool = True , no_complex = True ))
553+ @pytest .mark .parametrize ("dtype" , get_integer_float_dtypes ( ))
553554def test_array_equiv_dtype (dtype ):
554555 a = numpy .array ([1 , 2 ], dtype = dtype )
555556 b = numpy .array ([1 , 2 ], dtype = dtype )
@@ -575,7 +576,7 @@ def test_array_equiv_scalar(a):
575576 assert_equal (result , expected )
576577
577578
578- @pytest .mark .parametrize ("dtype" , get_all_dtypes ( no_bool = True , no_complex = True ))
579+ @pytest .mark .parametrize ("dtype" , get_integer_float_dtypes ( ))
579580@pytest .mark .parametrize ("equal_nan" , [True , False ])
580581def test_array_equal_dtype (dtype , equal_nan ):
581582 a = numpy .array ([1 , 2 ], dtype = dtype )
0 commit comments