Skip to content

Commit

Permalink
remove open_zarr from tests, now open_dataset(engine=zarr)
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Jimenez-Urias committed Apr 29, 2020
1 parent 8376cca commit aed1cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/tests/test_distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def test_dask_distributed_zarr_integration_test(loop, consolidated, compute):
)
if not compute:
maybe_futures.compute()
with xr.open_zarr(filename, **read_kwargs) as restored:
with xr.open_dataset(filename, chunks="auto", **read_kwargs) as restored:
assert isinstance(restored.var1.data, da.Array)
computed = restored.compute()
assert_allclose(original, computed)
Expand Down

0 comments on commit aed1cc5

Please sign in to comment.