Skip to content

Commit 376181c

Browse files
committed
actually pass in the right op
1 parent 7f2654b commit 376181c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: xarray_array_testing/reduction.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def test_variable_numerical_reduce(self, op, data):
2222

2323
note(f"note: {variable}")
2424

25-
with self.expected_errors("mean", variable=variable):
25+
with self.expected_errors(op, variable=variable):
2626
# compute using xr.Variable.<OP>()
2727
actual = getattr(variable, op)().data
2828
# compute using xp.<OP>(array)

0 commit comments

Comments
 (0)