diff --git a/numcodecs/tests/test_checksum32.py b/numcodecs/tests/test_checksum32.py index 7aad9da3..8acec3fc 100644 --- a/numcodecs/tests/test_checksum32.py +++ b/numcodecs/tests/test_checksum32.py @@ -3,7 +3,11 @@ import numpy as np import pytest -from numcodecs.checksum32 import CRC32, CRC32C, Adler32 +try: + from numcodecs.checksum32 import CRC32, CRC32C, Adler32 +except ImportError: # pragma: no cover + pytest.skip("numcodecs.checksum32 not available", allow_module_level=True) + from numcodecs.tests.common import ( check_backwards_compatibility, check_config,