Use TypeVar default for Generator (#140506)

This commit is contained in:
Marc Mueller 2025-03-14 10:08:39 +01:00 committed by GitHub
parent 5daa3167ca
commit f48d94ce34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ from .common import get_test_config_dir
@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."""
yield
Path(get_test_config_dir(".HA_RESTORE_RESULT")).unlink(missing_ok=True)