pytest-twisted
pytest-twisted copied to clipboard
(3.10+) DeprecationWarning: There is no current event loop
trafficstars
When using the asyncio reactor, in newer versions of python, you get a deprecation warning: "twisted/internet/asyncioreactor.py:50: DeprecationWarning: There is no current event loop".
This can be resolved by passing an event loop to the asyncio reactor install function.