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

Function test_zarr_closing_internal_zip_store

xarray/tests/test_backends.py:7723–7729  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7721@requires_zarr
7722@pytest.mark.usefixtures("default_zarr_format")
7723def test_zarr_closing_internal_zip_store():
7724 store_name = "tmp.zarr.zip"
7725 original_da = DataArray(np.arange(12).reshape((3, 4)))
7726 original_da.to_zarr(store_name, mode="w")
7727
7728 with open_dataarray(store_name, engine="zarr") as loaded_da:
7729 assert_identical(original_da, loaded_da)
7730
7731
7732@requires_zarr

Callers

nothing calls this directly

Calls 5

to_zarrMethod · 0.95
DataArrayClass · 0.90
open_dataarrayFunction · 0.90
assert_identicalFunction · 0.90
arangeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…