mirror of
https://github.com/home-assistant/core.git
synced 2026-04-28 18:12:37 +02:00
Improve type hints in stream tests (#123894)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user