Closed krishnaglodha closed 12 months ago
This is not respx, but rather how you run/configure pytest to run with asyncio support.
So if you're using pytest-asyncio
, make sure you've configured pytest options to set asyncio mode to e.g. auto
, or marking the test/module with the pytest-asyncio marker.
I'm building a py project using
poetry
I have created a test file and using following code from examples to test asynchronouslyWhen I run
poetry run pytest
or simplypytest
, I'm getting following warningmy pyproject.toml file has following