Skip to content

Commit

Permalink
add no cover pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
normanrz committed Jul 9, 2024
1 parent 3f972d9 commit 2a36cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numcodecs/zfpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
if _zfpy_version:
# Check NumPy version
_numpy_version: tuple = tuple(map(int, version("numpy").split('.')))
if _numpy_version >= (2, 0, 0) and _zfpy_version <= (1, 0, 1):
if _numpy_version >= (2, 0, 0) and _zfpy_version <= (1, 0, 1): # pragma: no cover
_zfpy_version = ()
warnings.warn(
"NumPy version >= 2.0.0 detected. The zfpy library is incompatible with this version of NumPy. "
Expand Down

0 comments on commit 2a36cd2

Please sign in to comment.