Skip to content

Commit

Permalink
Pass bare-minimum tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
flamingbear committed Feb 5, 2024
1 parent 81b425f commit 3c5bcda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xarray/tests/datatree/test_io.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import pytest
import zarr.errors

from xarray.backends.api import open_datatree
from xarray.datatree_.datatree.testing import assert_equal
Expand Down Expand Up @@ -117,6 +116,8 @@ def test_to_zarr_not_consolidated(self, tmpdir, simple_datatree):

@requires_zarr
def test_to_zarr_default_write_mode(self, tmpdir, simple_datatree):
import zarr

simple_datatree.to_zarr(tmpdir)

# with default settings, to_zarr should not overwrite an existing dir
Expand Down

0 comments on commit 3c5bcda

Please sign in to comment.