From 887a252d609abf0577031c5b0d7c60340e372357 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 18:23:18 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- xarray/tests/test_groupby.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xarray/tests/test_groupby.py b/xarray/tests/test_groupby.py index e60fddd1fa4..2e589ef8808 100644 --- a/xarray/tests/test_groupby.py +++ b/xarray/tests/test_groupby.py @@ -2086,7 +2086,7 @@ def test_upsample_interpolate(self) -> None: f = interp1d( np.arange(len(times)), data, - kind=kwargs["order"] if kind =="polynomial" else kind, + kind=kwargs["order"] if kind == "polynomial" else kind, axis=-1, bounds_error=True, assume_sorted=True, @@ -2164,7 +2164,7 @@ def test_upsample_interpolate_dask(self, chunked_time: bool) -> None: f = interp1d( np.arange(len(times)), data, - kind=kwargs["order"] if kind =="polynomial" else kind, + kind=kwargs["order"] if kind == "polynomial" else kind, axis=-1, bounds_error=True, assume_sorted=True,