Skip to content

[3.7] bpo-33789: Backport test_asyncio fixes from master #7478

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

Merged
merged 3 commits into from
Jun 7, 2018
Merged

[3.7] bpo-33789: Backport test_asyncio fixes from master #7478

merged 3 commits into from
Jun 7, 2018

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 7, 2018

vstinner added 3 commits June 7, 2018 15:50
* Close sockets and streams to fix ResourceWarning warnings
* Catch also OSError to hide a traceback on an expected handshake
  error

(cherry picked from commit 0eba7c3)
Hide PendingDeprecationWarning in test__register_task_3().

(cherry picked from commit 7ed61e9)
…-7462)

Fix "<CoroWrapper ...> was never yielded from" warning in
PyTask_PyFuture_Tests.test_error_in_call_soon() of
test_asyncio.test_tasks.

Close manually the coroutine on error.

(cherry picked from commit 9f04f0d)
@vstinner vstinner requested review from 1st1 and asvetlov as code owners June 7, 2018 14:03
@vstinner vstinner changed the title [3.7] Backport asyncio fixes from master [3.7] Backport test_asyncio fixes from master Jun 7, 2018
@vstinner vstinner changed the title [3.7] Backport test_asyncio fixes from master [3.7] bpo-33789: Backport test_asyncio fixes from master Jun 7, 2018
@vstinner vstinner merged commit 3c41761 into python:3.7 Jun 7, 2018
@vstinner vstinner deleted the asyncio37 branch June 7, 2018 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants