We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d78cadd commit ad1ad67Copy full SHA for ad1ad67
numcodecs/checksum32.py
@@ -9,7 +9,7 @@
9
from .compat import ensure_contiguous_ndarray, ndarray_copy
10
from .jenkins import jenkins_lookup3
11
12
-if TYPE_CHECKING:
+if TYPE_CHECKING: # pragma: no cover
13
from typing_extensions import Buffer
14
15
CHECKSUM_LOCATION = Literal['start', 'end']
numcodecs/tests/test_zarr3.py
@@ -5,10 +5,10 @@
5
import numpy as np
6
import pytest
7
8
-if not TYPE_CHECKING:
- zarr = pytest.importorskip("zarr")
-else:
import zarr
+else:
+ zarr = pytest.importorskip("zarr")
import zarr.storage
from zarr.core.common import JSON
0 commit comments