mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Upgrade pyupgrade to 2.21.2, apply its changes (#52987)
This commit is contained in:
@@ -165,7 +165,7 @@ async def test_gather_with_concurrency():
|
||||
return runs
|
||||
|
||||
results = await hasync.gather_with_concurrency(
|
||||
2, *[_increment_runs_if_in_time() for i in range(4)]
|
||||
2, *(_increment_runs_if_in_time() for i in range(4))
|
||||
)
|
||||
|
||||
assert results == [2, 2, -1, -1]
|
||||
|
||||
Reference in New Issue
Block a user