File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
tests/integration/preprocessor/_io Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change 2020
2121import cf_units
2222import pytest
23- from zarr .errors import GroupNotFoundError
2423
2524from 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 )
You can’t perform that action at this time.
0 commit comments