(tmp_path, a)
| 5029 | ], |
| 5030 | ) |
| 5031 | def test_zarr_empty_array(tmp_path, a): |
| 5032 | pytest.importorskip("zarr") |
| 5033 | fname = tmp_path / "x.zarr" |
| 5034 | a.to_zarr(fname) |
| 5035 | b = da.from_zarr(fname) |
| 5036 | assert_eq(a, b) |
| 5037 | |
| 5038 | |
| 5039 | @pytest.mark.parametrize("compute", [False, True]) |