Replace partial annotations (#114177)

This commit is contained in:
Marc Mueller
2024-03-28 18:33:39 +01:00
committed by GitHub
parent 6fafb9c9b4
commit 443bfee16d
3 changed files with 14 additions and 13 deletions

View File

@ -3,7 +3,6 @@
import asyncio
from copy import deepcopy
from datetime import datetime, timedelta
from functools import partial
import json
import ssl
from typing import Any, TypedDict
@ -84,12 +83,6 @@ class _DebugInfo(TypedDict):
config: _DebugDeviceInfo
class RecordCallsPartial(partial[Any]):
"""Wrapper class for partial."""
__name__ = "RecordCallPartialTest"
@pytest.fixture(autouse=True)
def mock_storage(hass_storage: dict[str, Any]) -> None:
"""Autouse hass_storage for the TestCase tests."""