cpython/Lib/test/test_asyncio
Victor Stinner b903067462 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.
2017-06-30 11:12:33 +02:00
..
__init__.py
__main__.py
echo.py
echo2.py
echo3.py
keycert3.pem
pycacert.pem
ssl_cert.pem
ssl_key.pem
test_base_events.py Issue #28652: Partially rollback previous changes 2016-11-21 17:47:27 -05:00
test_events.py bpo-30110: fix resource leak in test_asyncio.test_events (#1413) 2017-05-15 11:56:40 +08:00
test_futures.py bpo-30508: Don't log exceptions if Task/Future "cancel()" method called (#2050) 2017-06-11 13:49:18 +00:00
test_locks.py Fix waiter cancellation in asyncio.Lock (#1031) 2017-06-09 16:17:40 -04:00
test_pep492.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
test_proactor_events.py Issue #28613: Fix get_event_loop() to return the current loop 2016-11-04 14:29:28 -04:00
test_queues.py Issue #28613: Fix get_event_loop() to return the current loop 2016-11-04 14:29:28 -04:00
test_selector_events.py bpo-30280: Cleanup threads in ayncio tests (#2501) 2017-06-30 11:12:33 +02:00
test_sslproto.py Revert "bpo-29406: asyncio SSL contexts leak sockets after calling close with certain servers (#409)" (#2111) 2017-06-11 16:46:35 +02:00
test_streams.py Issue #28613: Fix get_event_loop() to return the current loop 2016-11-04 14:29:28 -04:00
test_subprocess.py asyncio: Fix trailing whitespace/code style 2017-03-02 23:25:31 -05:00
test_tasks.py bpo-30508: Don't log exceptions if Task/Future "cancel()" method called (#2050) 2017-06-11 13:49:18 +00:00
test_transports.py
test_unix_events.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_windows_events.py Issue #28613: Fix get_event_loop() to return the current loop 2016-11-04 14:29:28 -04:00
test_windows_utils.py