Skip to content

Commit 57ec320

Browse files
committed
tests
1 parent f102e84 commit 57ec320

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numcodecs/tests/test_zarr3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,11 @@ def test_generic_bytes_codec(
225225
):
226226
try:
227227
codec_class()._codec # noqa: B018
228-
except ValueError as e:
228+
except ValueError as e: # pragma: no cover
229229
if "codec not available" in str(e):
230230
pytest.xfail(f"{codec_class.codec_name} is not available: {e}")
231231
else:
232-
raise # pragma: no cover
232+
raise
233233
except ImportError as e: # pragma: no cover
234234
pytest.xfail(f"{codec_class.codec_name} is not available: {e}")
235235

0 commit comments

Comments
 (0)