Skip to content

Commit

Permalink
Fix a missing @requires_zarr in tests
Browse files Browse the repository at this point in the history
When zarr is not available, this test fails with `NameError: name 'zarr' is not defined`.
  • Loading branch information
ArchangeGabriel committed Nov 4, 2021
1 parent 3e05d6e commit 0432d70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xarray/tests/test_backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -2398,6 +2398,7 @@ def create_zarr_target(self):
yield tmp


@requires_zarr
@requires_fsspec
def test_zarr_storage_options():
pytest.importorskip("aiobotocore")
Expand Down

0 comments on commit 0432d70

Please sign in to comment.