We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b97e78 commit 213863bCopy full SHA for 213863b
tests/test_group.py
@@ -1583,14 +1583,12 @@ async def test_create_hierarchy(
1583
sync_group.create_hierarchy(store=store, nodes=hierarchy_spec, overwrite=overwrite)
1584
)
1585
elif impl == "async":
1586
- created = dict(
1587
- [
1588
- a
1589
- async for a in create_hierarchy(
1590
- store=store, nodes=hierarchy_spec, overwrite=overwrite
1591
- )
1592
- ]
1593
+ created = {
+ k: v
+ async for k, v in create_hierarchy(
+ store=store, nodes=hierarchy_spec, overwrite=overwrite
+ )
+ }
1594
else:
1595
raise ValueError(f"Invalid impl: {impl}")
1596
if not overwrite:
0 commit comments