Skip to content

Commit 9164caf

Browse files
Update test_logic_op_2in
1 parent f2fcb28 commit 9164caf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_sycl_queue.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -775,10 +775,11 @@ def test_logic_op_2in(op, device):
775775
"less_equal",
776776
]:
777777
x1 = x1[:-1]
778+
x2 = x2[:-1]
778779
result = getattr(dpnp, op)(x1, x2)
779780

780-
x1_orig = numpy.asnumpy(x1)
781-
x2_orig = numpy.asnumpy(x2)
781+
x1_orig = dpnp.asnumpy(x1)
782+
x2_orig = dpnp.asnumpy(x2)
782783
expected = getattr(numpy, op)(x1_orig, x2_orig)
783784

784785
assert_dtype_allclose(result, expected)

0 commit comments

Comments
 (0)