Skip to content

Commit fff27a8

Browse files
committed
fix searchsorted validation test
1 parent e85940e commit fff27a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/tests/test_usm_ndarray_searchsorted.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def test_searchsorted_validation():
285285
x1 = dpt.arange(10, dtype="i4")
286286
except dpctl.SyclDeviceCreationError:
287287
pytest.skip("Default device could not be created")
288-
with pytest.raises(TypeError):
288+
with pytest.raises(ValueError):
289289
dpt.searchsorted(x1, None)
290290
with pytest.raises(TypeError):
291291
dpt.searchsorted(x1, x1, sorter=dict())

0 commit comments

Comments
 (0)