Skip to content

Commit 080448d

Browse files
committed
Change error message to that raised from Numba
1 parent 040f77a commit 080448d

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
@@ -306,7 +306,7 @@ def test_inconsistent_shared(self, shape_unsafe):
306306
# Error raised by Alloc Op
307307
with pytest.raises(
308308
ValueError,
309-
match=r"could not broadcast input array from shape \(3,7\) into shape \(6,7\)",
309+
match=r"cannot assign slice from input of different size",
310310
):
311311
f()
312312

0 commit comments

Comments
 (0)