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

Function test_argmin_max_error

xarray/tests/test_duck_array_ops.py:715–719  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

713
714
715def test_argmin_max_error():
716 da = construct_dataarray(2, np.bool_, contains_nan=True, dask=False)
717 da[0] = np.nan
718 with pytest.raises(ValueError):
719 da.argmin(dim="y")
720
721
722@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

construct_dataarrayFunction · 0.85
argminMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…