Fix invalid tuple annotations (#116035)

This commit is contained in:
Marc Mueller
2024-04-23 16:02:16 +02:00
committed by GitHub
parent d367bc63f0
commit a0314cddd4
5 changed files with 11 additions and 11 deletions

View File

@ -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(