Skip to content

Commit a5ad0ca

Browse files
committed
fixup
1 parent 9f5429f commit a5ad0ca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/v3/test_group.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ async def test_group_members_async(store: LocalStore | MemoryStore):
737737

738738

739739
async def test_require_group(store: LocalStore | MemoryStore, zarr_format: ZarrFormat) -> None:
740-
root = await AsyncGroup.create_group(store=store, zarr_format=zarr_format)
740+
root = await AsyncGroup.from_store(store=store, zarr_format=zarr_format)
741741

742742
# create foo group
743743
_ = await root.create_group("foo", attributes={"foo": 100})
@@ -765,7 +765,7 @@ async def test_require_group(store: LocalStore | MemoryStore, zarr_format: ZarrF
765765

766766

767767
async def test_require_groups(store: LocalStore | MemoryStore, zarr_format: ZarrFormat) -> None:
768-
root = await AsyncGroup.create(store=store, zarr_format=zarr_format)
768+
root = await AsyncGroup.from_store(store=store, zarr_format=zarr_format)
769769
# create foo group
770770
_ = await root.create_group("foo", attributes={"foo": 100})
771771
# create bar group
@@ -786,7 +786,7 @@ async def test_require_groups(store: LocalStore | MemoryStore, zarr_format: Zarr
786786

787787

788788
async def test_create_dataset(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
foo = await root.create_dataset("foo", shape=(10,), dtype="uint8")
791791
assert foo.shape == (10,)
792792

@@ -799,7 +799,7 @@ async def test_create_dataset(store: LocalStore | MemoryStore, zarr_format: Zarr
799799

800800

801801
async def test_require_array(store: LocalStore | MemoryStore, zarr_format: ZarrFormat) -> None:
802-
root = await AsyncGroup.create(store=store, zarr_format=zarr_format)
802+
root = await AsyncGroup.from_store(store=store, zarr_format=zarr_format)
803803
foo1 = await root.require_array("foo", shape=(10,), dtype="i8", attributes={"foo": 101})
804804
assert foo1.attrs == {"foo": 101}
805805
foo2 = await root.require_array("foo", shape=(10,), dtype="i8")

0 commit comments

Comments
 (0)