diff --git a/dpnp/tests/third_party/cupy/core_tests/test_ndarray_adv_indexing.py b/dpnp/tests/third_party/cupy/core_tests/test_ndarray_adv_indexing.py index d9451cb70a5..68a4a68282d 100644 --- a/dpnp/tests/third_party/cupy/core_tests/test_ndarray_adv_indexing.py +++ b/dpnp/tests/third_party/cupy/core_tests/test_ndarray_adv_indexing.py @@ -609,14 +609,22 @@ def test_invalid_adv_getitem(self): }, {"shape": (2, 3, 4), "indexes": (slice(None), []), "value": 1}, {"shape": (2, 3, 4), "indexes": ([], []), "value": 1}, - # {'shape': (2, 3, 4), 'indexes': numpy.array([], dtype=numpy.bool_), - # 'value': 1}, #dpctl-1913 - # {'shape': (2, 3, 4), - # 'indexes': (slice(None), numpy.array([], dtype=numpy.bool_)), - # 'value': 1}, #dpctl-1913 - # {'shape': (2, 3, 4), 'indexes': numpy.array([[], []], dtype=numpy.bool_), - # 'value': numpy.random.uniform(size=(4,))}, #dpctl-1913 - # {'shape': (2, 3, 4), 'indexes': numpy.empty((0, 0, 4), bool), 'value': 1}, #dpctl-1913 + { + "shape": (2, 3, 4), + "indexes": numpy.array([], dtype=numpy.bool_), + "value": 1, + }, + { + "shape": (2, 3, 4), + "indexes": (slice(None), numpy.array([], dtype=numpy.bool_)), + "value": 1, + }, + { + "shape": (2, 3, 4), + "indexes": numpy.array([[], []], dtype=numpy.bool_), + "value": numpy.random.uniform(size=(4,)), + }, + {"shape": (2, 3, 4), "indexes": numpy.empty((0, 0, 4), bool), "value": 1}, # multiple masks {"shape": (2, 3, 4), "indexes": (True, [True, False]), "value": 1}, {"shape": (2, 3, 4), "indexes": (False, [True, False]), "value": 1},