Skip to content

Commit 21e1958

Browse files
committed
Add a test for broadcast_arrays empty input value error
1 parent ea1e663 commit 21e1958

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dpctl/tests/test_usm_ndarray_manipulation.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,11 @@ def test_incompatible_shapes_raise_valueerror(shapes):
435435
assert_broadcast_arrays_raise(input_shapes[::-1])
436436

437437

438+
def test_broadcast_arrays_no_args():
439+
with pytest.raises(ValueError):
440+
dpt.broadcast_arrays()
441+
442+
438443
def test_flip_axis_incorrect():
439444
q = get_queue_or_skip()
440445

0 commit comments

Comments
 (0)