mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Refactor code to pass the Lint
This commit is contained in:
parent
7125c2b39f
commit
7f7c1820e5
3 changed files with 8 additions and 9 deletions
|
|
@ -48,7 +48,8 @@ class TestLockIsolations:
|
|||
|
||||
for _ in range(100):
|
||||
tasks.append(
|
||||
asyncio.create_task(self._some_task(isolation, bot, self.random_storage_key(bot))))
|
||||
asyncio.create_task(self._some_task(isolation, bot, self.random_storage_key(bot)))
|
||||
)
|
||||
await asyncio.sleep(0.01)
|
||||
|
||||
await asyncio.gather(*[task for task in tasks if not task.done()])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue