-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
RuntimeWarning: coroutine 'noop' was never awaited #4282
Copy link
Copy link
Closed
Description
Long story short
I get this when I run pytest with -s.
Apparently it was already noticed and dealt with here:
Lines 103 to 104 in f30a204
| # prevent "coroutine noop was never awaited" warning. | |
| coroutines._DEBUG = False # type: ignore |
Expected behaviour
No warnings
Actual behaviour
Warnings
Steps to reproduce
The following test:
python -m pytest tests/test_web_functional.py::test_subapp_reverse_static_url[pyloop] -x -s
Your environment
I get it in python3.7 and python3.8.
Linux Mint 18.3
On aiohttp master
Any suggestions on how do fix it?
Maybe a sync and async version of noop?
I can make a pull request.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels