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 a356439 commit d3ba4f3Copy full SHA for d3ba4f3
tests/test_dot.py
@@ -305,12 +305,16 @@ def test_dot_out_error_scalar(ia):
305
306
# output data type is incorrect
307
dp_out = dpnp.empty((10,), dtype=dpnp.int64)
308
- with pytest.raises(ValueError):
+ # TODO: change it to ValueError, when updated
309
+ # dpctl is being used in internal CI
310
+ with pytest.raises((ValueError, TypeError)):
311
dpnp.dot(ia, ib, out=dp_out)
312
313
# output shape is incorrect
314
dp_out = dpnp.empty((2,), dtype=dpnp.int32)
315
316
317
318
319
320
0 commit comments