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
29 changed files with 38 additions and 37 deletions

View File

@@ -11,7 +11,7 @@ from homeassistant.setup import async_setup_component
from tests.common import assert_setup_component
ComponentSetup = Callable[[dict[str, Any] | None], Awaitable[None]]
type ComponentSetup = Callable[[dict[str, Any] | None], Awaitable[None]]
TEST_URL = "https://example.com/"
TEST_CONFIG = {