From ed1250c0a6cb9610650745b1d34447e1651359b3 Mon Sep 17 00:00:00 2001 From: Bruno Pagani Date: Thu, 4 Nov 2021 14:12:45 +0400 Subject: [PATCH] Fix a missing @requires_zarr in tests (#5936) When zarr is not available, this test fails with `NameError: name 'zarr' is not defined`. --- xarray/tests/test_backends.py | 1 + 1 file changed, 1 insertion(+) diff --git a/xarray/tests/test_backends.py b/xarray/tests/test_backends.py index 4e9b98b02e9..b567e49c29f 100644 --- a/xarray/tests/test_backends.py +++ b/xarray/tests/test_backends.py @@ -2398,6 +2398,7 @@ def create_zarr_target(self): yield tmp +@requires_zarr @requires_fsspec def test_zarr_storage_options(): pytest.importorskip("aiobotocore")