Skip to content

Commit a0476df

Browse files
committed
error message
1 parent 25fac86 commit a0476df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numcodecs/checksum32.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def decode(self, buf, out=None):
2727
expect = arr[:4].view('<u4')[0]
2828
checksum = self.checksum(arr[4:]) & 0xffffffff
2929
if expect != checksum:
30-
raise RuntimeError('CRC32 checksum error')
30+
raise RuntimeError('checksum failed')
3131
return buffer_copy(arr[4:], out)
3232

3333

0 commit comments

Comments
 (0)