I run into event loop warnings when running uni tests
I am junior Python developer who wants to generate some html files using Dominate library. My test passes so library works fine but I get following warnings:
"site-packages\dominate\dom_tag.py:74: DeprecationWarning: There is no current event loop
if get_event_loop().is_running():"
"\Python312\Lib\asyncio\base_events.py:703: ResourceWarning: unclosed event loop <ProactorEventLoop running=False closed=False debug=False>"
Am I doing something wrong or is it a problem because I use Python 3.12?
关闭于 2024-12-31 0 条评论