-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I'm running tests of aiounittest during build for Fedora with Python 3.14 but run into the issue - Python 3.14 has removed implicit event loop creation: https://docs.python.org/dev/whatsnew/3.14.html#id7
==================================== ERRORS ====================================
_________ ERROR collecting tests/test_asynctestcase_get_event_loop.py __________
/usr/lib/python3.14/site-packages/_pytest/python.py:1595: in instance
return self._instance
E AttributeError: 'TestCaseFunction' object has no attribute '_instance'. Did you mean: 'instance'?
During handling of the above exception, another exception occurred:
tests/test_asynctestcase_get_event_loop.py:30: in get_event_loop
self.my_loop = asyncio.get_event_loop()
/usr/lib64/python3.14/asyncio/events.py:718: in get_event_loop
raise RuntimeError('There is no current event loop in thread %r.'
E RuntimeError: There is no current event loop in thread 'MainThread'.
Metadata
Metadata
Assignees
Labels
No labels