Skip to content

Commit 6cb8e85

Browse files
committed
Mark decoding as not covered by Python 2 tests
1 parent 3b50e3c commit 6cb8e85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zarr/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1924,7 +1924,7 @@ def hexdigest(self, hashname="sha1"):
19241924
checksum = binascii.hexlify(self.digest(hashname=hashname))
19251925

19261926
# This is a bytes object on Python 3 and we want a str.
1927-
if type(checksum) is not str:
1927+
if type(checksum) is not str: # pragma: py2 no cover
19281928
checksum = checksum.decode('utf8')
19291929

19301930
return checksum

0 commit comments

Comments
 (0)