mirror of
https://github.com/home-assistant/core.git
synced 2025-11-11 12:00:52 +00:00
Update pytest-asyncio to 1.0.0 (#145988)
* Update pytest-asyncio to 1.0.0 * Remove event_loop fixture uses
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
"""The tests for the image_processing component."""
|
||||
|
||||
from asyncio import AbstractEventLoop
|
||||
from collections.abc import Callable
|
||||
from unittest.mock import PropertyMock, patch
|
||||
|
||||
@@ -26,7 +25,6 @@ async def setup_homeassistant(hass: HomeAssistant):
|
||||
|
||||
@pytest.fixture
|
||||
def aiohttp_unused_port_factory(
|
||||
event_loop: AbstractEventLoop,
|
||||
unused_tcp_port_factory: Callable[[], int],
|
||||
socket_enabled: None,
|
||||
) -> Callable[[], int]:
|
||||
|
||||
Reference in New Issue
Block a user