Skip to content

Commit 3f8d6c6

Browse files
committed
properly use the new vectorized_indexers strategy
1 parent 3c81608 commit 3f8d6c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray_array_testing/indexing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def test_variable_isel_orthogonal(self, data):
6969
@given(st.data())
7070
def test_variable_isel_vectorized(self, data):
7171
variable = data.draw(xrst.variables(array_strategy_fn=self.array_strategy_fn))
72-
idx = data.draw(vectorized_indexers(variable.sizes))
72+
idx = data.draw(vectorized_indexers(sizes=variable.sizes, min_dims=1))
7373

7474
with self.expected_errors("isel_vectorized", variable=variable):
7575
actual = variable.isel(idx).data

0 commit comments

Comments
 (0)