mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Upgrade pyupgrade to 2.21.2, apply its changes (#52987)
This commit is contained in:
@@ -42,7 +42,7 @@ async def test_list_devices(hass, client, registry):
|
||||
await client.send_json({"id": 5, "type": "config/device_registry/list"})
|
||||
msg = await client.receive_json()
|
||||
|
||||
dev1, dev2 = [entry.pop("id") for entry in msg["result"]]
|
||||
dev1, dev2 = (entry.pop("id") for entry in msg["result"])
|
||||
|
||||
assert msg["result"] == [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user