Skip to content

Commit 9d89f3a

Browse files
committed
use numeric data as input to avoid casting warning
1 parent 9f804b1 commit 9d89f3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpnp/tests/test_mathematical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ def test_return_type(self):
11661166
)
11671167
def test_op_multiple_dtypes(dtype1, func, dtype2):
11681168
a = numpy.array([[1, 2], [3, 4]], dtype=dtype1)
1169-
b = numpy.array(a, dtype=dtype2)
1169+
b = numpy.array([[1, 2], [3, 4]], dtype=dtype2)
11701170
ia, ib = dpnp.array(a), dpnp.array(b)
11711171

11721172
if func == "subtract" and (dtype1 == dtype2 == dpnp.bool):

0 commit comments

Comments
 (0)