mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Adjust Generator type hints in tests (#121013)
This commit is contained in:
@@ -18,7 +18,7 @@ def banned_function():
|
||||
|
||||
|
||||
@contextlib.contextmanager
|
||||
def patch_get_current_frame(stack: list[Mock]) -> Generator[None, None, None]:
|
||||
def patch_get_current_frame(stack: list[Mock]) -> Generator[None]:
|
||||
"""Patch get_current_frame."""
|
||||
frames = extract_stack_to_frame(stack)
|
||||
with (
|
||||
|
||||
Reference in New Issue
Block a user