Skip to content

Commit d49022a

Browse files
authored
Pinning the version of aiohttp (#248)
* Pinning the version due to #247. * Fix for testing file descriptors.
1 parent bf397c0 commit d49022a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ test = [
5454
"build",
5555
"twine",
5656
"fastapi",
57-
"aiohttp",
57+
"aiohttp<3.10.6",
5858
"wait-for-it",
5959
"mypy",
6060
"types-decorator",

tests/test_mocket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,4 +233,4 @@ async def test_no_dangling_fds():
233233
async with Mocketizer(strict_mode=False), httpx.AsyncClient() as client:
234234
await client.get(url)
235235

236-
assert proc.num_fds() == prev_num_fds
236+
assert proc.num_fds() <= prev_num_fds

0 commit comments

Comments
 (0)