Skip to content

Commit bc2e704

Browse files
committed
coverage
1 parent da7538e commit bc2e704

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ jobs:
7272
7373
7474
- name: Install zarr-python
75-
if : matrix.python-version != '3.10'
7675
shell: "bash -l {0}"
7776
run: |
7877
conda activate env

numcodecs/tests/test_zarr3_import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ def test_zarr3_import():
88

99
try:
1010
import zarr # noqa: F401
11-
except ImportError:
11+
except ImportError: # pragma: no cover
1212
with pytest.raises(ImportError, match=ERROR_MESSAGE_MATCH):
1313
import numcodecs.zarr3 # noqa: F401

numcodecs/zarr3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
if zarr.__version__ < "3.0.0": # pragma: no cover
1818
raise ImportError("zarr 3.0.0 or later is required to use the numcodecs zarr integration.")
19-
except ImportError:
19+
except ImportError: # pragma: no cover
2020
raise ImportError("zarr 3.0.0 or later is required to use the numcodecs zarr integration.")
2121

2222
from zarr.abc.codec import ArrayArrayCodec, ArrayBytesCodec, BytesBytesCodec

0 commit comments

Comments
 (0)