Skip to content

Commit 5ae1bb1

Browse files
committed
call the test function numerical_reduce
this means we don't have to rename again when we add boolean reduce (`all`, `any`), cumulative reduce (`cumsum`, `cumprod`), ordering (`min`, `max`, `median`), and indexing ordering (`argmin`, `argmax`) tests.
1 parent 5b227d9 commit 5ae1bb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray_array_testing/reduction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def expected_errors(op, **parameters):
1515

1616
@pytest.mark.parametrize("op", ["mean", "sum", "prod", "std", "var"])
1717
@given(st.data())
18-
def test_variable(self, op, data):
18+
def test_variable_numerical_reduce(self, op, data):
1919
variable = data.draw(xrst.variables(array_strategy_fn=self.array_strategy_fn))
2020

2121
with self.expected_errors(op, variable=variable):

0 commit comments

Comments
 (0)