(method)
| 867 | |
| 868 | @pytest.mark.parametrize("method", ["sum", "mean", "prod"]) |
| 869 | def test_object_reduction(method): |
| 870 | arr = da.ones(1).astype(object) |
| 871 | result = getattr(arr, method)().compute() |
| 872 | assert result == 1 |
| 873 | |
| 874 | |
| 875 | @pytest.mark.parametrize("func", ["nanmin", "nanmax"]) |