[Python-checkins] [python/cpython] b90306: bpo-30280: Cleanup threads in ayncio tests (#2501)
GitHub
noreply at github.com
Fri Jun 30 05:12:35 EDT 2017
Branch: refs/heads/master
Home: https://github.com/python/cpython
Commit: b9030674624c181d6e9047cdb14ad65bb6c84c66
https://github.com/python/cpython/commit/b9030674624c181d6e9047cdb14ad65bb6c84c66
Author: Victor Stinner <victor.stinner at gmail.com>
Date: 2017-06-30 (Fri, 30 Jun 2017)
Changed paths:
M Lib/asyncio/test_utils.py
M Lib/test/test_asyncio/test_selector_events.py
Log Message:
-----------
bpo-30280: Cleanup threads in ayncio tests (#2501)
* 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.
More information about the Python-checkins
mailing list