Skip to content

Commit 4a264d1

Browse files
committed
Fix test
1 parent 8bd8d9b commit 4a264d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/_core/tests/test_numeric.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def test_reshape_shape_arg(self):
171171
expected = arr.reshape(shape)
172172

173173
with pytest.raises(
174-
ValueError,
174+
TypeError,
175175
match="You cannot specify 'newshape' and 'shape' "
176176
"arguments at the same time."
177177
):

0 commit comments

Comments
 (0)