]> khamidou — GitHub mirrors - vcrpy.git/commit
Fix aiohttp patch to work with aiohttp >= 3.3
authorStefan Tjarks <stefan.tjarks@eventbase.com>
Thu, 28 Jun 2018 16:12:26 +0000 (09:12 -0700)
committerLuiz Menezes <luiz.menezesf@gmail.com>
Wed, 25 Jul 2018 16:24:29 +0000 (13:24 -0300)
commite559be758ad6d22fed9ef662aac848e527329e89
treef37c2cdd08180471077c319dd3b2b92fa73e9e11
parentaff71c510719fd286fc581ea5b30a416e6b3f6d0
Fix aiohttp patch to work with aiohttp >= 3.3

Aiohttp expects an awaitable instance to be returned from
`ClientSession._request` though `asyncio.coroutine` decorated function
do not implement `__await__`. By changing the syntax and dropping Python
3.4 support we fix this issue.
tests/integration/test_aiohttp.py
tox.ini
vcr/stubs/aiohttp_stubs/__init__.py