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

Function test_lazy_data_variable_not_loaded

xarray/tests/test_dataarray.py:7654–7661  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7652
7653
7654def test_lazy_data_variable_not_loaded():
7655 # GH8753
7656 array = InaccessibleArray(np.array([1, 2, 3]))
7657 v = Variable(data=array, dims="x")
7658 # No data needs to be accessed, so no error should be raised
7659 da = xr.DataArray(v)
7660 # No data needs to be accessed, so no error should be raised
7661 xr.DataArray(da)
7662
7663
7664def test_unstack_index_var() -> None:

Callers

nothing calls this directly

Calls 2

InaccessibleArrayClass · 0.90
VariableClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…