-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some of the tests in Sanic (test_request_timout, test_response_timeou…
…t, test_keep_alive_timeout) use a custom SanicClient with modified methods. This relies on overriding internal aiohttp Client classes. In aiohttp 3.1.0 there were some breaking changes that caused the custom methods to be no longer compatible with latest upstream aiohttp Client class. See: aio-libs/aiohttp@9030732 and: aio-libs/aiohttp@b42e0ce This commit adds aiohttp version checks to adapt to these changes.
- Loading branch information
1 parent
8a07463
commit 94b9bc7
Showing
2 changed files
with
29 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
aiofiles | ||
aiohttp==1.3.5 | ||
aiohttp>=2.3.0 | ||
chardet<=2.3.0 | ||
beautifulsoup4 | ||
coverage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters