Skip to content

Commit

Permalink
Fix a missing @requires_zarr in tests (pydata#5936)
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 authored and snowman2 committed Feb 9, 2022
1 parent aa58438 commit ed1250c
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 ed1250c

Please sign in to comment.