Skip to content

Commit aed1cc5

Browse files
author
Miguel Jimenez-Urias
committed
remove open_zarr from tests, now open_dataset(engine=zarr)
1 parent 8376cca commit aed1cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/tests/test_distributed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def test_dask_distributed_zarr_integration_test(loop, consolidated, compute):
151151
)
152152
if not compute:
153153
maybe_futures.compute()
154-
with xr.open_zarr(filename, **read_kwargs) as restored:
154+
with xr.open_dataset(filename, chunks="auto", **read_kwargs) as restored:
155155
assert isinstance(restored.var1.data, da.Array)
156156
computed = restored.compute()
157157
assert_allclose(original, computed)

0 commit comments

Comments
 (0)