Skip to content

Commit 954c833

Browse files
authored
Merge branch 'main' into bugfix/nomock
2 parents bc47275 + ad1ad67 commit 954c833

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

numcodecs/checksum32.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from .compat import ensure_contiguous_ndarray, ndarray_copy
1010
from .jenkins import jenkins_lookup3
1111

12-
if TYPE_CHECKING:
12+
if TYPE_CHECKING: # pragma: no cover
1313
from typing_extensions import Buffer
1414

1515
CHECKSUM_LOCATION = Literal['start', 'end']

numcodecs/tests/test_zarr3.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
import numpy as np
66
import pytest
77

8-
if not TYPE_CHECKING:
9-
zarr = pytest.importorskip("zarr")
10-
else:
8+
if TYPE_CHECKING: # pragma: no cover
119
import zarr
10+
else:
11+
zarr = pytest.importorskip("zarr")
1212

1313
import zarr.storage
1414
from zarr.core.common import JSON

0 commit comments

Comments
 (0)