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
|
@ -39,7 +39,7 @@ from tests.test_util.aiohttp import AiohttpClientMocker
|
|||
EXPIRED_TOKEN_TIMESTAMP = datetime.datetime(2022, 4, 8).timestamp()
|
||||
|
||||
# Typing helpers
|
||||
HassApi = Callable[[], Awaitable[dict[str, Any]]]
|
||||
type HassApi = Callable[[], Awaitable[dict[str, Any]]]
|
||||
|
||||
TEST_EVENT_SUMMARY = "Test Summary"
|
||||
TEST_EVENT_DESCRIPTION = "Test Description"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue