HENNGE / arsenic

Async WebDriver implementation for asyncio and asyncio-compatible frameworks
Other
350 stars 53 forks source link

Fix DeprecationWarning: aiohttp.ClientSession.close() is a coroutine #23

Closed garyvdm closed 6 years ago

garyvdm commented 6 years ago

Using arsenic, I get this warning:

.../lib/python3.6/site-packages/arsenic/services.py:34: DeprecationWarning: ClientSession.close() is a coroutine

This is happening because aiohttp changed ClientSession.close() to a coroutine. http://aiohttp.readthedocs.io/en/stable/changes.html#id9

This patch fixes this.

ojii commented 6 years ago

Thank you @garyvdm