Skip to content

Commit 30d42c6

Browse files
dcherianhollymandel
authored andcommitted
fix typing
1 parent e6725de commit 30d42c6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

xarray/tests/test_interp.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,6 @@ def test_interpolate_chunk_1d(
912912
* np.exp(z),
913913
coords=[("x", x), ("y", y), ("z", z)],
914914
)
915-
kwargs = {}
916915

917916
# choose the data dimensions
918917
for data_dims in permutations(da.dims, data_ndim):
@@ -947,8 +946,8 @@ def test_interpolate_chunk_1d(
947946
if chunked:
948947
dest[dim] = xr.DataArray(data=dest[dim], dims=[dim])
949948
dest[dim] = dest[dim].chunk(2)
950-
actual = da.interp(method=method, **dest, kwargs=kwargs)
951-
expected = da.compute().interp(method=method, **dest, kwargs=kwargs)
949+
actual = da.interp(method=method, **dest)
950+
expected = da.compute().interp(method=method, **dest)
952951

953952
assert_identical(actual, expected)
954953

0 commit comments

Comments
 (0)