We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d92b22b commit fa935e8Copy full SHA for fa935e8
dpnp/tests/third_party/cupy/core_tests/test_ndarray_adv_indexing.py
@@ -751,7 +751,7 @@ class TestArrayAdvancedIndexingSetitemScalarValueIndexError:
751
def test_adv_setitem(self):
752
for xp in (numpy, cupy):
753
a = xp.zeros(self.shape)
754
- with pytest.raises(IndexError):
+ with pytest.raises((IndexError, ValueError)):
755
a[self.indexes] = self.value
756
757
0 commit comments