Replace unnecessary typing_extensions imports for Generator (#122169)

pull/122174/head
Marc Mueller 2024-07-19 12:56:27 +02:00 committed by GitHub
parent c28a138dfe
commit 2b486c3bd5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -1,11 +1,11 @@
"""Define pytest.fixtures available for all tests."""
from collections.abc import Generator
from unittest.mock import MagicMock, patch
from pyezviz import EzvizClient
from pyezviz.test_cam_rtsp import TestRTSPAuth
import pytest
from typing_extensions import Generator
from homeassistant.core import HomeAssistant

View File

@ -1,12 +1,12 @@
"""Configuration for Israel rail tests."""
from collections.abc import Generator
from datetime import datetime
from unittest.mock import AsyncMock, patch
from zoneinfo import ZoneInfo
from israelrailapi.api import TrainRoute
import pytest
from typing_extensions import Generator
from homeassistant.components.israel_rail import CONF_DESTINATION, CONF_START, DOMAIN

View File

@ -1,11 +1,11 @@
"""Fixtures for the recorder component tests."""
from collections.abc import AsyncGenerator, Generator
from dataclasses import dataclass
import threading
from unittest.mock import Mock, patch
import pytest
from typing_extensions import AsyncGenerator, Generator
from homeassistant.components import recorder
from homeassistant.components.recorder import db_schema