We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 892470f commit 081dcd2Copy full SHA for 081dcd2
zarr/tests/test_storage.py
@@ -1264,7 +1264,7 @@ def test_bad_format(self):
1264
# bad format version
1265
'zarr_consolidated_format': 0,
1266
}
1267
- store['.zmetadata'] = json.dumps(consolidated)
+ store['.zmetadata'] = json.dumps(consolidated).encode()
1268
1269
# check appropriate error is raised
1270
with pytest.raises(MetadataError):
@@ -1281,7 +1281,7 @@ def test_read_write(self):
1281
'baz': 42,
1282
1283
1284
1285
1286
# create consolidated store
1287
cs = ConsolidatedMetadataStore(store)
0 commit comments