Skip to content

Commit b61078f

Browse files
Fix test_boolean_reductions_nan_inf to assert array instead of scalar
1 parent 244dd6a commit b61078f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dpnp/tests/tensor/test_usm_ndarray_utility_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def test_boolean_reductions_nan_inf(func):
147147
:, dpt.newaxis
148148
]
149149
res = func(x, axis=1)
150-
assert_equal(dpt.asnumpy(res), True)
150+
assert_array_equal(dpt.asnumpy(res), np.array([True, True, True]))
151151

152152

153153
@pytest.mark.parametrize("func", [dpt.all, dpt.any])

0 commit comments

Comments
 (0)