Skip to content

Commit fbd4159

Browse files
committed
Add no cover if codec not available
1 parent 12a1197 commit fbd4159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numcodecs/tests/test_zarr3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def test_generic_bytes_codec(store: StorePath, codec_class: type[numcodecs.zarr3
225225
pytest.xfail(f"{codec_class.codec_name} is not available: {e}")
226226
else:
227227
raise # pragma: no cover
228-
except ImportError as e:
228+
except ImportError as e: # pragma: no cover
229229
pytest.xfail(f"{codec_class.codec_name} is not available: {e}")
230230

231231
data = np.arange(0, 256, dtype="float32").reshape((16, 16))

0 commit comments

Comments
 (0)