From 97de0c6d9a8ff97d88af386add2c948b80cf8055 Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Fri, 3 Feb 2023 22:22:52 +0100 Subject: [PATCH] Late review on added type hint MQTT fixture (#87342) --- tests/conftest.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 4e3c53756df..23fd5a87c8d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -89,9 +89,7 @@ def _utcnow(): dt_util.utcnow = _utcnow event.time_tracker_utcnow = _utcnow -MqttMockType = Callable[ - ..., Coroutine[Any, Any, Callable[..., Coroutine[Any, Any, MagicMock]]] -] +MqttMockType = Callable[..., Coroutine[Any, Any, MagicMock]] def pytest_addoption(parser):