mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 11:18:00 +02:00
Replace partial annotations (#114177)
This commit is contained in:
@ -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."""
|
||||
|
Reference in New Issue
Block a user