Import Generator from typing_extensions (2) (#118989)

This commit is contained in:
Marc Mueller 2024-06-06 17:24:22 +02:00 committed by GitHub
parent 49c7b1aab9
commit 279483ddb0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
96 changed files with 298 additions and 290 deletions

View file

@ -1,8 +1,7 @@
"""Fixtures for Climate platform tests."""
from collections.abc import Generator
import pytest
from typing_extensions import Generator
from homeassistant.config_entries import ConfigFlow
from homeassistant.core import HomeAssistant
@ -15,7 +14,7 @@ class MockFlow(ConfigFlow):
@pytest.fixture
def config_flow_fixture(hass: HomeAssistant) -> Generator[None, None, None]:
def config_flow_fixture(hass: HomeAssistant) -> Generator[None]:
"""Mock config flow."""
mock_platform(hass, "test.config_flow")