Use PEP 695 type alias in tests (#117797)

This commit is contained in:
Marc Mueller 2024-05-20 19:03:04 +02:00 committed by GitHub
parent e8aa4b069a
commit 1ad8151bd1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 38 additions and 37 deletions

View file

@ -52,7 +52,7 @@ from .conftest import FakeAuth
from tests.components.climate import common
CreateEvent = Callable[[dict[str, Any]], Awaitable[None]]
type CreateEvent = Callable[[dict[str, Any]], Awaitable[None]]
EVENT_ID = "some-event-id"