(arr, func)
| 70 | |
| 71 | @pytest.mark.parametrize("func", ["min", "max", "sum", "prod", "mean", "any", "all"]) |
| 72 | def test_reductions(arr, func): |
| 73 | # var and std need __array_function__ |
| 74 | result = getattr(arr, func)(axis=0) |
| 75 | expected = getattr(arr.compute(), func)(axis=0) |
| 76 | assert_eq(result, expected) |
| 77 | |
| 78 | |
| 79 | @pytest.mark.parametrize( |