Adjust incorrect unnecessary-lambda pylint disable statement in demo tests (#119666)

This commit is contained in:
epenet 2024-06-14 08:25:35 +02:00 committed by GitHub
parent 471e2a17a2
commit 26e21bb356
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -171,8 +171,8 @@ async def test_update_with_progress_raising(hass: HomeAssistant) -> None:
events = []
async_track_state_change_event(
hass,
# pylint: disable-next=unnecessary-lambda
"update.demo_update_with_progress",
# pylint: disable-next=unnecessary-lambda
callback(lambda event: events.append(event)),
)