Skip to content

Commit 38e003f

Browse files
committed
make test_asyncgroup_from_dict async
1 parent 3bf098a commit 38e003f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/v3/test_group.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,13 @@ async def test_asyncgroup_open_wrong_format(
219219
{"zarr_format": 2, "attributes": {"foo": 100}},
220220
),
221221
)
222-
def test_asyncgroup_from_dict(store: MemoryStore | LocalStore, data: dict[str, Any]) -> None:
222+
async def test_asyncgroup_from_dict(store: MemoryStore | LocalStore, data: dict[str, Any]) -> None:
223223
"""
224224
Test that we can create an AsyncGroup from a dict
225225
"""
226226
path = "test"
227227
store_path = StorePath(store=store, path=path)
228-
group = AsyncGroup.from_dict(store_path, data=data)
228+
group = await AsyncGroup.from_dict(store_path, data=data)
229229

230230
assert group.metadata.zarr_format == data["zarr_format"]
231231
assert group.metadata.attributes == data["attributes"]

0 commit comments

Comments
 (0)