mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-21 00:21:49 +00:00
test: drop two inert type: ignore comments
pyrightconfig.json sets enableTypeIgnoreComments to false and does not include tests/, so neither comment suppressed anything.
This commit is contained in:
parent
5de9fc6961
commit
e5398e7e30
2 changed files with 2 additions and 2 deletions
|
|
@ -427,7 +427,7 @@ def test_settings_store_truthiness_stops_at_the_first_key() -> None:
|
|||
resolutions: Final[list[str]] = []
|
||||
original: Final = SettingsStore._resolution_for
|
||||
|
||||
def counted(self: SettingsStore, key: str): # type: ignore[no-untyped-def]
|
||||
def counted(self: SettingsStore, key: str):
|
||||
resolutions.append(key)
|
||||
return original(self, key)
|
||||
|
||||
|
|
|
|||
|
|
@ -623,7 +623,7 @@ def _real_proxy_config(file_general_settings: dict) -> "object":
|
|||
|
||||
proxy_config = ProxyConfig()
|
||||
proxy_config._load_yaml_settings_stores({"general_settings": file_general_settings})
|
||||
proxy_config.get_config_state = MagicMock( # type: ignore[method-assign]
|
||||
proxy_config.get_config_state = MagicMock(
|
||||
return_value={"general_settings": file_general_settings}
|
||||
)
|
||||
return proxy_config
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue