diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-06-30 15:20:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-30 15:20:33 (GMT) |
commit | 23caf8cfc6c52bdedd8e8db688d807530355fd6d (patch) | |
tree | d85a173928247697e37b4dc6071af04a2cc80298 /Python/ceval.c | |
parent | 22d4e8fb99b16657eabfe7f9fee2d40a5ef882f6 (diff) | |
download | cpython-23caf8cfc6c52bdedd8e8db688d807530355fd6d.zip cpython-23caf8cfc6c52bdedd8e8db688d807530355fd6d.tar.gz cpython-23caf8cfc6c52bdedd8e8db688d807530355fd6d.tar.bz2 |
bpo-30280: Cleanup threads in ayncio tests (#2501) (#2511)
* 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 b9030674624c181d6e9047cdb14ad65bb6c84c66)
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions