Skip to content

Commit 7c283df

Browse files
authored
Merge pull request #343 from jakirkham/add_pragma_cov
Mark decoding as not covered by Python 2 tests
2 parents 3b50e3c + 6cb8e85 commit 7c283df

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)