Closed konstunn closed 4 years ago
I have found out that it is not compulsory to call asyncio.set_event_loop(loop) starting from Python 3.6.
I was trying to backport arsenic to Python 3.5, that is why I had this problem. Don't know the exact reason, though. Obviously, the deal is in the Python version.
When running AioHTTPTestCase there is no event loop assigned to the main thread.
Is it compulsory in this case to call asyncio.set_event_loop(loop) to use arsenic, or is there a way to pass the loop to arsenic explicitly?