Skip to content

Commit 9b18bc3

Browse files
authored
Remove failing test test_load_zarr_local_not_zarr_file due to zarr version changes (#2824)
1 parent b7577ff commit 9b18bc3

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

tests/integration/preprocessor/_io/test_zarr.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
import cf_units
2222
import pytest
23-
from zarr.errors import GroupNotFoundError
2423

2524
from esmvalcore.preprocessor._io import load
2625

@@ -203,23 +202,3 @@ def test_load_zarr_local_not_file():
203202
# is bound to fail the test
204203
with pytest.raises(FileNotFoundError):
205204
load(zarr_path)
206-
207-
208-
def test_load_zarr_local_not_zarr_file():
209-
"""
210-
Test loading something that has a zarr extension.
211-
212-
But file is plaintext (on local FS).
213-
"""
214-
zarr_path = (
215-
Path(importlib_files("tests"))
216-
/ "sample_data"
217-
/ "zarr-sample-data"
218-
/ "example_field_0.zarr17"
219-
)
220-
221-
# "Unable to find group" or "No group found"
222-
# Zarr keeps changing the exception string so matching
223-
# is bound to fail the test
224-
with pytest.raises(GroupNotFoundError):
225-
load(zarr_path)

0 commit comments

Comments
 (0)