@@ -615,11 +615,10 @@ def test_ceil(self, dtype):
615
615
assert_array_equal (expected , result )
616
616
617
617
@pytest .mark .parametrize (
618
- "dtype" , get_all_dtypes (no_bool = True , no_complex = True , no_none = True )
618
+ "dtype" , get_all_dtypes (no_complex = True , no_none = True )[: - 1 ]
619
619
)
620
620
def test_invalid_dtype (self , dtype ):
621
- dpnp_dtype = dpnp .float64 if has_support_aspect64 () else dpnp .float32
622
- pytest .skip ("similar data types" ) if dpnp_dtype == dtype else None
621
+ dpnp_dtype = get_all_dtypes (no_complex = True , no_none = True )[- 1 ]
623
622
dp_array = dpnp .arange (10 , dtype = dpnp_dtype )
624
623
dp_out = dpnp .empty (10 , dtype = dtype )
625
624
@@ -656,11 +655,10 @@ def test_floor(self, dtype):
656
655
assert_array_equal (expected , result )
657
656
658
657
@pytest .mark .parametrize (
659
- "dtype" , get_all_dtypes (no_bool = True , no_complex = True , no_none = True )
658
+ "dtype" , get_all_dtypes (no_complex = True , no_none = True )[: - 1 ]
660
659
)
661
660
def test_invalid_dtype (self , dtype ):
662
- dpnp_dtype = dpnp .float64 if has_support_aspect64 () else dpnp .float32
663
- pytest .skip ("similar data types" ) if dpnp_dtype == dtype else None
661
+ dpnp_dtype = get_all_dtypes (no_complex = True , no_none = True )[- 1 ]
664
662
dp_array = dpnp .arange (10 , dtype = dpnp_dtype )
665
663
dp_out = dpnp .empty (10 , dtype = dtype )
666
664
@@ -697,11 +695,10 @@ def test_trunc(self, dtype):
697
695
assert_array_equal (expected , result )
698
696
699
697
@pytest .mark .parametrize (
700
- "dtype" , get_all_dtypes (no_bool = True , no_complex = True , no_none = True )
698
+ "dtype" , get_all_dtypes (no_complex = True , no_none = True )[: - 1 ]
701
699
)
702
700
def test_invalid_dtype (self , dtype ):
703
- dpnp_dtype = dpnp .float64 if has_support_aspect64 () else dpnp .float32
704
- pytest .skip ("similar data types" ) if dpnp_dtype == dtype else None
701
+ dpnp_dtype = get_all_dtypes (no_complex = True , no_none = True )[- 1 ]
705
702
dp_array = dpnp .arange (10 , dtype = dpnp_dtype )
706
703
dp_out = dpnp .empty (10 , dtype = dtype )
707
704
0 commit comments