Skip to content

Commit 3c81608

Browse files
committed
set min_dims=1
1 parent fc5b434 commit 3c81608

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

xarray_array_testing/indexing.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ def expected_errors(op, **parameters):
4545
@given(st.data())
4646
def test_variable_isel_orthogonal(self, data):
4747
variable = data.draw(xrst.variables(array_strategy_fn=self.array_strategy_fn))
48-
idx = data.draw(
49-
orthogonal_indexers(sizes=variable.sizes, min_dims=len(variable.dims))
50-
)
48+
idx = data.draw(orthogonal_indexers(sizes=variable.sizes, min_dims=1))
5149

5250
with self.expected_errors("isel_orthogonal", variable=variable, indexers=idx):
5351
actual = variable.isel(idx).data

0 commit comments

Comments
 (0)