1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Fix consider-using-tuple pylint warnings in core tests (#119463)

This commit is contained in:
epenet
2024-06-12 12:35:01 +02:00
committed by GitHub
parent 10b32e6a24
commit abb8c58b87
51 changed files with 128 additions and 128 deletions

View File

@@ -615,7 +615,7 @@ async def test_async_remove_with_platform_update_finishes(hass: HomeAssistant) -
# Add, remove, and make sure no updates
# cause the entity to reappear after removal and
# that we can add another entity with the same entity_id
for entity in [entity1, entity2]:
for entity in (entity1, entity2):
update_called = asyncio.Event()
update_done = asyncio.Event()
await component.async_add_entities([entity])