pytest-twisted icon indicating copy to clipboard operation
pytest-twisted copied to clipboard

(3.10+) DeprecationWarning: There is no current event loop

Open pvanderlinden opened this issue 1 year ago • 0 comments
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.

pvanderlinden avatar Jun 20 '24 10:06 pvanderlinden