From 0432d70bb5c9b998bda29406c255cb33fe0aeea5 Mon Sep 17 00:00:00 2001 From: Bruno Pagani Date: Thu, 4 Nov 2021 08:48:31 +0400 Subject: [PATCH] Fix a missing @requires_zarr in tests 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")