Skip to content

Commit a65bb9a

Browse files
author
Vahid Tavanashad
committed
use dpnp.bool
1 parent b8e16b9 commit a65bb9a

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
@@ -2277,7 +2277,7 @@ def test_out(self, func, dtype):
22772277
expected = getattr(numpy, func)(a)
22782278

22792279
ia = dpnp.array(a)
2280-
out_dt = numpy.int8 if dtype == numpy.bool_ else dtype
2280+
out_dt = numpy.int8 if dtype == dpnp.bool else dtype
22812281
iout = dpnp.empty(expected.shape, dtype=out_dt)
22822282
result = getattr(dpnp, func)(ia, out=iout)
22832283

0 commit comments

Comments
 (0)