Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion numcodecs/checksum32.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from .compat import ensure_contiguous_ndarray, ndarray_copy
from .jenkins import jenkins_lookup3

if TYPE_CHECKING:
if TYPE_CHECKING: # pragma: no cover
from typing_extensions import Buffer

CHECKSUM_LOCATION = Literal['start', 'end']
Expand Down
6 changes: 3 additions & 3 deletions numcodecs/tests/test_zarr3.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
import numpy as np
import pytest

if not TYPE_CHECKING:
zarr = pytest.importorskip("zarr")
else:
if TYPE_CHECKING: # pragma: no cover
import zarr
else:
zarr = pytest.importorskip("zarr")

import zarr.storage
from zarr.core.common import JSON
Expand Down
Loading