Skip to content

Commit a421c5b

Browse files
committed
(chore): no cover for internal ValueError
1 parent 22d7f00 commit a421c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numcodecs/blosc.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def compress(source, char* cname, int clevel, int shuffle=SHUFFLE,
280280
source_ptr = source_buffer.ptr
281281
nbytes = source_buffer.nbytes
282282
if isinstance(typesize, int):
283-
if typesize < 1:
283+
if typesize < 1: # pragma: no cover
284284
raise ValueError(f"Cannot use typesize {typesize} less than 1.")
285285
itemsize = typesize
286286
else:

0 commit comments

Comments
 (0)