Skip to content

Commit eb6cc87

Browse files
committed
fix failing tests
1 parent 34f2fa7 commit eb6cc87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpnp/tests/test_binary_ufuncs.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ def test_divide(self, dtype):
195195
expected = numpy.divide(a, b)
196196

197197
ia, ib = dpnp.array(a), dpnp.array(b)
198-
if numpy.issubdtype(dtype, numpy.bool):
199-
out_dtype = dpnp.float64
198+
if numpy.issubdtype(dtype, dpnp.bool):
199+
out_dtype = map_dtype_to_device(dpnp.float64, ia.sycl_device)
200200
else:
201201
out_dtype = _get_output_data_type(dtype)
202202
iout = dpnp.empty(expected.shape, dtype=out_dtype)

0 commit comments

Comments
 (0)