Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore some lines for coverage #633

Merged
merged 4 commits into from
Nov 16, 2024
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