Use a future for mock coro (#34989)
This commit is contained in:
1 parent
ba7391528f
commit
76f392476b
26 files changed
+154
-262
No files matched your search
@@ -89,7 +89,7 @@ def patch_sync_helper():
|
||||
to_update = []
|
||||
to_remove = []
|
||||
|
||||
async def sync_helper(to_upd, to_rem):
|
||||
def sync_helper(to_upd, to_rem):
|
||||
to_update.extend([ent_id for ent_id in to_upd if ent_id not in to_update])
|
||||
to_remove.extend([ent_id for ent_id in to_rem if ent_id not in to_remove])
|
||||
return True
|
||||
|
||||
Reference in new issue
Block a user