From bf833f8ef60b0a28f8ae0e6becb7a3fde54cec3d Mon Sep 17 00:00:00 2001 From: Illviljan <14371165+Illviljan@users.noreply.github.com> Date: Mon, 21 Jul 2025 12:56:08 +0200 Subject: [PATCH] Update test_interp.py --- xarray/tests/test_interp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/xarray/tests/test_interp.py b/xarray/tests/test_interp.py index 7d5a9bf3db4..a55fd845a04 100644 --- a/xarray/tests/test_interp.py +++ b/xarray/tests/test_interp.py @@ -610,6 +610,7 @@ def test_dataset() -> None: new_dim2 = xr.DataArray([0.11, 0.21, 0.31], dims="z") interpolated = ds.interp(dim2=new_dim2) + # No crash? assert_allclose(interpolated["var1"], ds["var1"].interp(dim2=new_dim2)) assert interpolated["var3"].equals(ds["var3"])