mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 03:08:01 +02:00
Fix invalid tuple annotations (#116035)
This commit is contained in:
@ -236,7 +236,7 @@ async def test_warning_if_color_mode_flags_are_used(
|
||||
hass: HomeAssistant,
|
||||
mqtt_mock_entry: MqttMockHAClientGenerator,
|
||||
caplog: pytest.LogCaptureFixture,
|
||||
color_modes: tuple[str,],
|
||||
color_modes: tuple[str, ...],
|
||||
) -> None:
|
||||
"""Test warnings deprecated config keys without supported color modes defined."""
|
||||
with patch(
|
||||
@ -278,7 +278,7 @@ async def test_warning_on_discovery_if_color_mode_flags_are_used(
|
||||
mqtt_mock_entry: MqttMockHAClientGenerator,
|
||||
caplog: pytest.LogCaptureFixture,
|
||||
config: dict[str, Any],
|
||||
color_modes: tuple[str,],
|
||||
color_modes: tuple[str, ...],
|
||||
) -> None:
|
||||
"""Test warnings deprecated config keys with discovery."""
|
||||
with patch(
|
||||
|
Reference in New Issue
Block a user