We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
vectorized_indexers
1 parent 3c81608 commit 3f8d6c6Copy full SHA for 3f8d6c6
xarray_array_testing/indexing.py
@@ -69,7 +69,7 @@ def test_variable_isel_orthogonal(self, data):
69
@given(st.data())
70
def test_variable_isel_vectorized(self, data):
71
variable = data.draw(xrst.variables(array_strategy_fn=self.array_strategy_fn))
72
- idx = data.draw(vectorized_indexers(variable.sizes))
+ idx = data.draw(vectorized_indexers(sizes=variable.sizes, min_dims=1))
73
74
with self.expected_errors("isel_vectorized", variable=variable):
75
actual = variable.isel(idx).data
0 commit comments