MCPcopy Index your code
hub / github.com/pydata/xarray / test_keywargs

Function test_keywargs

xarray/tests/test_interp.py:110–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108
109
110def test_keywargs():
111 if not has_scipy:
112 pytest.skip("scipy is not installed.")
113
114 da = get_example_data(0)
115 assert_equal(da.interp(x=[0.5, 0.8]), da.interp({"x": [0.5, 0.8]}))
116
117
118@pytest.mark.parametrize("method", ["linear", "cubic"])

Callers

nothing calls this directly

Calls 3

assert_equalFunction · 0.90
get_example_dataFunction · 0.85
interpMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…