-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClientSession is not aware of TestClient #1499
Labels
Comments
I am considering adding an optional arg to |
This was referenced Dec 24, 2016
Fixed. |
4 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There's a
ResourceWarning
and message per test method intest_utils.AioHTTPTestCase
. The following produces:python -m unittest test
This is because
ClientSession
expects running IO loop.Note that there's not only a warning, but also a call to
loop.call_exception_handler()
with mocked context, so this is impossible prevent this output with normal Pythonwarnings.filterwarnings
which is likely an warning design issue in the package.aiohttp 1.2.0
The text was updated successfully, but these errors were encountered: