Skip to content

Commit 62951ca

Browse files
committed
minor chnages
1 parent bf87c10 commit 62951ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpnp/tests/test_mathematical.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ class TestEdiff1d:
629629
)
630630
def test_basic(self, array, dtype):
631631
a = numpy.array(array, dtype=dtype)
632-
ia = dpnp.array(array, dtype=dtype)
632+
ia = dpnp.array(a)
633633

634634
result = dpnp.ediff1d(ia)
635635
expected = numpy.ediff1d(a)
@@ -1180,7 +1180,7 @@ def test_return_type(self):
11801180
)
11811181
def test_op_multiple_dtypes(dtype1, func, dtype2):
11821182
a = numpy.array([[1, 2], [3, 4]], dtype=dtype1)
1183-
b = numpy.array([[1, 2], [3, 4]], dtype=dtype2)
1183+
b = numpy.array(a, dtype=dtype2)
11841184
ia, ib = dpnp.array(a), dpnp.array(b)
11851185

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

0 commit comments

Comments
 (0)