Import Generator from typing_extensions (2) (#118989)
This commit is contained in:
parent
49c7b1aab9
commit
279483ddb0
96 changed files with 298 additions and 290 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue