Skip to content
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

Multiple Test Warnings on Python 3.4 (ResourceWarning / DeprecationWarning) #130

Closed
koobs opened this issue Jul 29, 2014 · 2 comments
Closed
Labels
invalid This doesn't seem right outdated

Comments

@koobs
Copy link

koobs commented Jul 29, 2014

Python 3.4.1
aiohttp: 0.9.0

test_basic_auth_tuple_deprecated (test_client.ClientRequestTests) ... /wrkdirs/usr/ports/www/py-aiohttp/work/aiohttp-0.9.0/aiohttp/client.py:354: DeprecationWarning: BasicAuth() tuple is required instead
  'BasicAuth() tuple is required instead ', DeprecationWarning)
ok
test_files_and_bytes_data (test_client.ClientRequestTests) ... /wrkdirs/usr/ports/www/py-aiohttp/work/aiohttp-0.9.0/aiohttp/client.py:199: DeprecationWarning: files parameter is deprecated. use data instead
  DeprecationWarning)
ok
test_override_flow_control (test_client.ClientResponseTests) ... /wrkdirs/usr/ports/www/py-aiohttp/work/aiohttp-0.9.0/aiohttp/client.py:578: ResourceWarning: ClientResponse has to be closed explicitly! get::http://python.org
  warnings.warn(msg, ResourceWarning)
ok
test_read_and_close (test_client.ClientResponseTests) ... /wrkdirs/usr/ports/www/py-aiohttp/work/aiohttp-0.9.0/aiohttp/client.py:692: DeprecationWarning: read_and_close is deprecated, use .read() instead
  DeprecationWarning
ok
test_read_decode_deprecated (test_client.ClientResponseTests) ... /wrkdirs/usr/ports/www/py-aiohttp/work/aiohttp-0.9.0/aiohttp/client.py:681: DeprecationWarning: .read(True) is deprecated. use .json() instead
  DeprecationWarning
ok
test_POST_FILES_DEPRECATED (test_client_functional.HttpClientFunctionalTests) ... /wrkdirs/usr/ports/www/py-aiohttp/work/aiohttp-0.9.0/aiohttp/client.py:199: DeprecationWarning: files parameter is deprecated. use data instead
  DeprecationWarning)
ok
@asvetlov
Copy link
Member

Master is clean now.

@lock
Copy link

lock bot commented Oct 29, 2019

This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.

If you feel like there's important points made in this discussion,
please include those exceprts into that new issue.

@lock lock bot added the outdated label Oct 29, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid This doesn't seem right outdated
Projects
None yet
Development

No branches or pull requests

2 participants