From a712eca70af6352f55436465026ed706bd72e444 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:47:38 +0200 Subject: [PATCH] Improve type hints in stream tests (#123894) --- tests/components/stream/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/components/stream/conftest.py b/tests/components/stream/conftest.py index 0142d71a805..6aab3c06d13 100644 --- a/tests/components/stream/conftest.py +++ b/tests/components/stream/conftest.py @@ -60,7 +60,7 @@ class WorkerSync: @pytest.fixture -def stream_worker_sync(hass): +def stream_worker_sync() -> Generator[WorkerSync]: """Patch StreamOutput to allow test to synchronize worker stream end.""" sync = WorkerSync() with patch(