aio-libs / pytest-aiohttp

pytest plugin for aiohttp support
Apache License 2.0
134 stars 24 forks source link

pytest-aiohttp is incompatible with pytest-asyncio v0.14.0 #16

Closed Carsten-Leue closed 2 years ago

Carsten-Leue commented 4 years ago

When running pytest-aiohttp with pytest-asyncio v0.14.0 I am seeing the following error:

RuntimeError: Timeout context manager should be used inside a task

This is related to a change in pytest-asyncio concerning event loop handling (see https://github.com/pytest-dev/pytest-asyncio/issues/170). Explanation in https://github.com/pytest-dev/pytest-asyncio/issues/170#issuecomment-650583848

Would it be possible to coordinate with the pytest-asyncio team so both your awesome libraries can be used at the same time.

asvetlov commented 2 years ago

Fixed