Skip to content

Commit e6164c6

Browse files
committed
Don't draw invalid shapes in test_vindex
1 parent df18805 commit e6164c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_properties.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_basic_indexing(data: st.DataObject) -> None:
3434

3535
@given(data=st.data())
3636
def test_vindex(data: st.DataObject) -> None:
37-
zarray = data.draw(arrays())
37+
zarray = data.draw(arrays(shapes=npst.array_shapes(max_dims=4, min_side=1)))
3838
# integer_array_indices can't handle 0-size dimensions.
3939
assume(all(s > 0 for s in zarray.shape))
4040
nparray = zarray[:]

0 commit comments

Comments
 (0)