@@ -758,7 +758,7 @@ async def test_group_members_async(store: LocalStore | MemoryStore) -> None:
758758
759759
760760async def test_require_group (store : LocalStore | MemoryStore , zarr_format : ZarrFormat ) -> None :
761- root = await AsyncGroup .create (store = store , zarr_format = zarr_format )
761+ root = await AsyncGroup .from_store (store = store , zarr_format = zarr_format )
762762
763763 # create foo group
764764 _ = await root .create_group ("foo" , attributes = {"foo" : 100 })
@@ -786,7 +786,7 @@ async def test_require_group(store: LocalStore | MemoryStore, zarr_format: ZarrF
786786
787787
788788async def test_require_groups (store : LocalStore | MemoryStore , zarr_format : ZarrFormat ) -> None :
789- root = await AsyncGroup .create (store = store , zarr_format = zarr_format )
789+ root = await AsyncGroup .from_store (store = store , zarr_format = zarr_format )
790790 # create foo group
791791 _ = await root .create_group ("foo" , attributes = {"foo" : 100 })
792792 # create bar group
@@ -807,7 +807,7 @@ async def test_require_groups(store: LocalStore | MemoryStore, zarr_format: Zarr
807807
808808
809809async def test_create_dataset (store : LocalStore | MemoryStore , zarr_format : ZarrFormat ) -> None :
810- root = await AsyncGroup .create (store = store , zarr_format = zarr_format )
810+ root = await AsyncGroup .from_store (store = store , zarr_format = zarr_format )
811811 with pytest .warns (DeprecationWarning ):
812812 foo = await root .create_dataset ("foo" , shape = (10 ,), dtype = "uint8" )
813813 assert foo .shape == (10 ,)
@@ -821,7 +821,7 @@ async def test_create_dataset(store: LocalStore | MemoryStore, zarr_format: Zarr
821821
822822
823823async def test_require_array (store : LocalStore | MemoryStore , zarr_format : ZarrFormat ) -> None :
824- root = await AsyncGroup .create (store = store , zarr_format = zarr_format )
824+ root = await AsyncGroup .from_store (store = store , zarr_format = zarr_format )
825825 foo1 = await root .require_array ("foo" , shape = (10 ,), dtype = "i8" , attributes = {"foo" : 101 })
826826 assert foo1 .attrs == {"foo" : 101 }
827827 foo2 = await root .require_array ("foo" , shape = (10 ,), dtype = "i8" )
0 commit comments