Skip to content

Commit b0be4ad

Browse files
committed
Change error message to that raised from Numba
1 parent 741c6fc commit b0be4ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tensor/rewriting/test_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def test_inconsistent_shared(self, shape_unsafe):
304304
# Error raised by Alloc Op
305305
with pytest.raises(
306306
ValueError,
307-
match=r"could not broadcast input array from shape \(3,7\) into shape \(6,7\)",
307+
match=r"cannot assign slice from input of different size",
308308
):
309309
f()
310310

0 commit comments

Comments
 (0)