Skip to content

Commit abeccb2

Browse files
committed
fix pragma
1 parent dca5173 commit abeccb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numcodecs/gzip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def encode(self, buf):
2727

2828
# normalise inputs
2929
buf = ensure_contiguous_ndarray(buf)
30-
if PY2:
30+
if PY2: # pragma: py3 no cover
3131
# view as u1 needed on PY2
3232
buf = buf.view('u1')
3333

0 commit comments

Comments
 (0)