You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pytest produces this asyncio warning since Python3.13. Same test with Python3.12 did not.
WARNING:asyncio:Executing <Task pending name='Task-3' coro=<test_batterieresponse_works() running at /home/homeassistant/core/venv/lib/python3.13/site-packages/freezegun/_async.py:15>
wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/local/lib/python3.13/asyncio/futures.py:386,
Task.task_wakeup()] created at /usr/local/lib/python3.13/asyncio/base_events.py:460> cb=[_run_until_complete_cb() at /usr/local/lib/python3.13/asyncio/base_events.py:182]
created at /usr/local/lib/python3.13/asyncio/tasks.py:748> took 1700494914.808 seconds
Can confirm test took about 0.5s and not the nearly 53 years reported.
All tests using the freeze_time fixture reported the warning. Other tests using pytest-asyncio plugin did not report this warning.
Bug report
Bug description:
pytest produces this asyncio warning since Python3.13. Same test with Python3.12 did not.
Can confirm test took about 0.5s and not the nearly 53 years reported.
All tests using the freeze_time fixture reported the warning. Other tests using pytest-asyncio plugin did not report this warning.
Related packages installed:
CPython versions tested on:
3.13
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: