Fix more deprecation warnings for 3.8

This commit is contained in:
Rapptz committed 2019-11-26 05:19:11 -05:00
1 parent f554819506
commit c62b6c3e88
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ def _cancel_tasks(loop):
for task in tasks:
task.cancel()
loop.run_until_complete(asyncio.gather(*tasks, loop=loop, return_exceptions=True))
loop.run_until_complete(asyncio.gather(*tasks, return_exceptions=True))
log.info('All tasks finished cancelling.')
for task in tasks: