Skip to content

Commit 6a83950

Browse files
authored
rename the reduction test (#8)
* correct the name of the variable reduction test to something more accurate * 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 491273d commit 6a83950

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_mean(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)