Skip to content

Commit cad0007

Browse files
committed
Merge 'zarr-developers/master' into 'jakirkham/use_numcodecs_0.6.2'
2 parents efacb52 + 6214948 commit cad0007

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/spec/v2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ keys like "foo/bar/0.0", "foo/bar/0.1", etc.
253253
To ensure consistent behaviour across different storage systems, logical paths
254254
MUST be normalized as follows:
255255

256-
* Replace all backward slash characters ("\\") with forward slash characters
256+
* Replace all backward slash characters ("\\\\") with forward slash characters
257257
("/")
258258
* Strip any leading "/" characters
259259
* Strip any trailing "/" characters

zarr/core.py

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

19311931
# This is a bytes object on Python 3 and we want a str.
1932-
if type(checksum) is not str:
1932+
if type(checksum) is not str: # pragma: py2 no cover
19331933
checksum = checksum.decode('utf8')
19341934

19351935
return checksum

zarr/storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ def __setitem__(self, key, value):
758758

759759
finally:
760760
# clean up if temp file still exists for whatever reason
761-
if temp_path is not None and os.path.exists(temp_path):
761+
if temp_path is not None and os.path.exists(temp_path): # pragma: no cover
762762
os.remove(temp_path)
763763

764764
def __delitem__(self, key):

0 commit comments

Comments
 (0)