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

bpo-30280: Cleanup threads in ayncio tests #2501

Merged
merged 2 commits into from Jun 30, 2017

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 30, 2017

No description provided.

vstinner added 2 commits Jun 30, 2017
asyncio base TestCase now uses threading_setup() and
threading_cleanup() of test.support to cleanup threads.
bpo-30280: TestBaseSelectorEventLoop of
test.test_asyncio.test_selector_events now correctly closes the event
loop: cleanup its executor to not leak threads.

Don't override the close() method of the event loop, only override
the_close_self_pipe() method.
@vstinner vstinner requested a review from 1st1 Jun 30, 2017
@mention-bot
Copy link

mention-bot commented Jun 30, 2017

@Haypo, thanks for your PR! By analyzing the history of the files in this pull request, we identified @1st1, @pitrou and @asvetlov to be potential reviewers.

@vstinner vstinner merged commit b903067 into python:master Jun 30, 2017
@vstinner vstinner deleted the asyncio_cleanup branch Jun 30, 2017
vstinner added a commit that referenced this pull request Jun 30, 2017
* bpo-30280: asyncio now cleans up threads

asyncio base TestCase now uses threading_setup() and
threading_cleanup() of test.support to cleanup threads.

* asyncio: Fix TestBaseSelectorEventLoop cleanup

bpo-30280: TestBaseSelectorEventLoop of
test.test_asyncio.test_selector_events now correctly closes the event
loop: cleanup its executor to not leak threads.

Don't override the close() method of the event loop, only override
the_close_self_pipe() method.

(cherry picked from commit b903067)
vstinner added a commit that referenced this pull request Jun 30, 2017
* bpo-30280: asyncio now cleans up threads

asyncio base TestCase now uses threading_setup() and
threading_cleanup() of test.support to cleanup threads.

* asyncio: Fix TestBaseSelectorEventLoop cleanup

bpo-30280: TestBaseSelectorEventLoop of
test.test_asyncio.test_selector_events now correctly closes the event
loop: cleanup its executor to not leak threads.

Don't override the close() method of the event loop, only override
the_close_self_pipe() method.

(cherry picked from commit b903067)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants