@@ -116,7 +116,7 @@ def test_properties():
116
116
117
117
@pytest .mark .parametrize ("func" , [bool , float , int ])
118
118
@pytest .mark .parametrize ("shape" , [(1 ,), (1 , 1 ), (1 , 1 , 1 )])
119
- @pytest .mark .parametrize ("dtype" , ["|b1" , "|f8 " , "|i8" ])
119
+ @pytest .mark .parametrize ("dtype" , ["|b1" , "|u2" , "|f4 " , "|i8" ])
120
120
def test_copy_scalar_with_func (func , shape , dtype ):
121
121
X = dpt .usm_ndarray (shape , dtype = dtype )
122
122
Y = np .arange (1 , X .size + 1 , dtype = dtype ).reshape (shape )
@@ -126,7 +126,7 @@ def test_copy_scalar_with_func(func, shape, dtype):
126
126
127
127
@pytest .mark .parametrize ("method" , ["__bool__" , "__float__" , "__int__" ])
128
128
@pytest .mark .parametrize ("shape" , [(1 ,), (1 , 1 ), (1 , 1 , 1 )])
129
- @pytest .mark .parametrize ("dtype" , ["|b1" , "|f8 " , "|i8" ])
129
+ @pytest .mark .parametrize ("dtype" , ["|b1" , "|u2" , "|f4 " , "|i8" ])
130
130
def test_copy_scalar_with_method (method , shape , dtype ):
131
131
X = dpt .usm_ndarray (shape , dtype = dtype )
132
132
Y = np .arange (1 , X .size + 1 , dtype = dtype ).reshape (shape )
0 commit comments