Skip to content

Commit e6c6ba1

Browse files
Add another usage of result_type to improve coverage
1 parent f53f816 commit e6c6ba1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dpctl/tests/test_usm_ndarray_manipulation.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -945,6 +945,11 @@ def test_result_type():
945945

946946
assert dpt.result_type(*X) == np.result_type(*X_np)
947947

948+
X = [dpt.int32, "int64", 2]
949+
X_np = [np.int32, "int64", 2]
950+
951+
assert dpt.result_type(*X) == np.result_type(*X_np)
952+
948953

949954
def test_swapaxes_1d():
950955
get_queue_or_skip()

0 commit comments

Comments
 (0)