Use PEP 695 type alias in tests (#117797)
This commit is contained in:
parent
e8aa4b069a
commit
1ad8151bd1
29 changed files with 38 additions and 37 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue