MCPcopy
hub / github.com/pydata/xarray / test_interpolate_no_dim_raises

Function test_interpolate_no_dim_raises

xarray/tests/test_missing.py:211–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209
210
211def test_interpolate_no_dim_raises():
212 da = xr.DataArray(np.array([1, 2, np.nan, 5], dtype=np.float64), dims="x")
213 with pytest.raises(NotImplementedError, match=r"dim is a required argument"):
214 da.interpolate_na(method="linear")
215
216
217def test_interpolate_invalid_interpolator_raises():

Callers

nothing calls this directly

Calls 1

interpolate_naMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…