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 ff68bca commit e28e1aaCopy full SHA for e28e1aa
dpctl/tests/test_tensor_isin.py
@@ -208,8 +208,12 @@ def test_isin_empty_inputs():
208
209
210
def test_isin_validation():
211
+ get_queue_or_skip()
212
with pytest.raises(ExecutionPlacementError):
213
dpt.isin(1, 1)
214
+ not_bool = dict()
215
+ with pytest.raises(ValueError):
216
+ dpt.isin(dpt.ones([1]), dpt.ones([1]), invert=not_bool)
217
218
219
def test_isin_special_floating_point_vals():
0 commit comments