Skip to content

Commit a3f0a8a

Browse files
mannreisd-v-b
andauthored
Add test description
Co-authored-by: Davis Bennett <[email protected]>
1 parent 3fab702 commit a3f0a8a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_metadata/test_consolidated.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,9 @@ async def v2_consolidated_metadata_empty_dataset(
491491
async def test_consolidated_metadata_backwards_compatibility(
492492
self, v2_consolidated_metadata_empty_dataset
493493
):
494+
"""
495+
Test that consolidated metadata handles a missing .zattrs key. This is necessary for backwards compatibility with zarr-python 2.x. See https://github.com/zarr-developers/zarr-python/issues/2694
496+
"""
494497
store = zarr.storage.MemoryStore()
495498
await zarr.api.asynchronous.open(store=store, zarr_format=2)
496499
await zarr.api.asynchronous.consolidate_metadata(store)

0 commit comments

Comments
 (0)