mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Improve type hints in stream tests (#123894)
This commit is contained in:
parent
36f9b69923
commit
a712eca70a
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user