Skip to content

Commit 9f13ff5

Browse files
lint
1 parent 121d809 commit 9f13ff5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/benchmark/client.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import asyncio
2-
import os
32
import sys
43
import time
54
from concurrent.futures import ThreadPoolExecutor
@@ -66,7 +65,9 @@ async def aiohttp_get(session: aiohttp.ClientSession, timings: List[int]) -> Non
6665
assert res.status == 200, f"status={res.status}"
6766
timings.append(duration(start))
6867

69-
async with httpcore.AsyncConnectionPool(max_connections=POOL_LIMIT, network_backend=NET_BACKEND()) as pool:
68+
async with httpcore.AsyncConnectionPool(
69+
max_connections=POOL_LIMIT, network_backend=NET_BACKEND()
70+
) as pool:
7071
# warmup
7172
await gather_limited_concurrency(
7273
(httpcore_get(pool, []) for _ in range(REQUESTS)), CONCURRENCY * 2

0 commit comments

Comments
 (0)