Skip to content

Commit d2edee5

Browse files
Fix a missing @requires_zarr in tests (#5936)
When zarr is not available, this test fails with `NameError: name 'zarr' is not defined`.
1 parent 3e05d6e commit d2edee5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xarray/tests/test_backends.py

+1
Original file line numberDiff line numberDiff line change
@@ -2398,6 +2398,7 @@ def create_zarr_target(self):
23982398
yield tmp
23992399

24002400

2401+
@requires_zarr
24012402
@requires_fsspec
24022403
def test_zarr_storage_options():
24032404
pytest.importorskip("aiobotocore")

0 commit comments

Comments
 (0)