File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ async def get_array_metadata(
145145 (store_path / ZATTRS_JSON ).get (),
146146 )
147147 if zarr_json_bytes is not None and zarray_bytes is not None :
148- # wwarn and favor v3
148+ # warn and favor v3
149149 msg = f"Both zarr.json (zarr v3) and .zarray (zarr v2) metadata objects exist at { store_path } ."
150150 warnings .warn (msg , stacklevel = 1 )
151151 if zarr_json_bytes is None and zarray_bytes is None :
Original file line number Diff line number Diff line change @@ -492,7 +492,7 @@ async def open(
492492 (store_path / str (consolidated_key )).get (),
493493 )
494494 if zarr_json_bytes is not None and zgroup_bytes is not None :
495- # we could warn and favor v3
495+ # warn and favor v3
496496 msg = f"Both zarr.json (zarr v3) and .zgroup (zarr v2) metadata objects exist at { store_path } ."
497497 warnings .warn (msg , stacklevel = 1 )
498498 if zarr_json_bytes is None and zgroup_bytes is None :
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ def test_create(memory_store: Store) -> None:
5656@pytest .mark .parametrize ("store" , ["memory" ], indirect = True )
5757def test_read (store : Store ) -> None :
5858 """
59- Test that the polymorphic read function works .
59+ Test that the polymorphic read function can return an Array or a Group, depending on the path argument .
6060 """
6161 # create an array and a group
6262 _ = create_group (store = store , path = "group" , attributes = {"node_type" : "group" })
You can’t perform that action at this time.
0 commit comments