Improve type hints in stream tests (#123894)

This commit is contained in:
epenet
2024-08-14 12:47:38 +02:00
committed by GitHub
parent 36f9b69923
commit a712eca70a
+1 -1
View File
@@ -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(