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

Method test_chunks_does_not_load_data

xarray/tests/test_dataset.py:1141–1146  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1139 assert isinstance(data.attrs, dict)
1140
1141 def test_chunks_does_not_load_data(self) -> None:
1142 # regression test for GH6538
1143 store = InaccessibleVariableDataStore()
1144 create_test_data().dump_to_store(store)
1145 ds = open_dataset(store)
1146 assert ds.chunks == {}
1147
1148 @requires_dask
1149 @pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 4

create_test_dataFunction · 0.90
open_datasetFunction · 0.90
dump_to_storeMethod · 0.80

Tested by

no test coverage detected