mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Use TypeVar default for Generator (#140506)
This commit is contained in:
parent
5daa3167ca
commit
f48d94ce34
@ -15,7 +15,7 @@ from .common import get_test_config_dir
|
|||||||
|
|
||||||
|
|
||||||
@pytest.fixture(autouse=True)
|
@pytest.fixture(autouse=True)
|
||||||
def remove_restore_result_file() -> Generator[None, Any, Any]:
|
def remove_restore_result_file() -> Generator[None]:
|
||||||
"""Remove the restore result file."""
|
"""Remove the restore result file."""
|
||||||
yield
|
yield
|
||||||
Path(get_test_config_dir(".HA_RESTORE_RESULT")).unlink(missing_ok=True)
|
Path(get_test_config_dir(".HA_RESTORE_RESULT")).unlink(missing_ok=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user