Skip to content

Commit 35b6631

Browse files
Merge comparisons with in (#432)
Co-authored-by: Josh Moore <[email protected]>
1 parent 8d2bac0 commit 35b6631

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numcodecs/tests/test_zfpy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
def test_encode_decode():
5151
for arr in arrays:
52-
if arr.dtype == np.int32 or arr.dtype == np.int64:
52+
if arr.dtype in (np.int32, np.int64):
5353
codec = [codecs[-1]]
5454
else:
5555
codec = codecs

0 commit comments

Comments
 (0)