1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-03 20:02:22 +01:00

Drop Python 3.10 support, require Python 3.11+ (#9522)

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
This commit is contained in:
J. Nick Koston
2025-07-15 15:20:58 -10:00
committed by GitHub
parent 30c4b91697
commit f745135bdc
36 changed files with 61 additions and 72 deletions

View File

@@ -85,7 +85,7 @@ async def test_scheduler_defer_cancel(
try:
await asyncio.wait_for(test_complete_future, timeout=10.0)
executed_defer = await asyncio.wait_for(test_result_future, timeout=1.0)
except asyncio.TimeoutError:
except TimeoutError:
pytest.fail("Test did not complete within timeout")
# Verify that only defer 10 was executed