cpython/Lib/test/test_asyncio
Miss Islington (bot) 8d68e59f11
bpo-39010: Improve test shutdown (GH-22066) (#22082)
Simply closing the event loop isn't enough to avoid warnings. If we
don't also shut down the event loop's default executor, it sometimes
logs a "dangling thread" warning.

Follow-up to GH-22017
(cherry picked from commit be435ae2b0)

Co-authored-by: Ben Darnell <ben@bendarnell.com>

Co-authored-by: Ben Darnell <ben@bendarnell.com>
2020-09-03 13:54:43 -07:00
..
__init__.py
__main__.py
echo.py
echo2.py
echo3.py
functional.py bpo-38614: Use test.support.LOOPBACK_TIMEOUT constant (GH-17554) 2019-12-10 20:32:59 +01:00
test_base_events.py bpo-40443: Remove unused imports in tests (GH-19804) 2020-04-30 02:21:30 +02:00
test_buffered_proto.py bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" (#16482) 2019-09-29 21:59:55 -07:00
test_context.py bpo-39794: Add --without-decimal-contextvar (#18702) 2020-02-29 19:43:42 +01:00
test_events.py bpo-38377: Add support.skip_if_broken_multiprocessing_synchronize() (GH-20944) (GH-20962) 2020-06-18 17:19:59 +02:00
test_futures.py bpo-31033: Add a msg argument to Future.cancel() and Task.cancel() (GH-19979) 2020-05-15 16:55:50 -07:00
test_locks.py bpo-34793: Drop old-style context managers in asyncio.locks (GH-17533) 2020-02-01 13:12:52 +02:00
test_pep492.py bpo-34793: Drop old-style context managers in asyncio.locks (GH-17533) 2020-02-01 13:12:52 +02:00
test_proactor_events.py bpo-39010: Fix errors logged on proactor loop restart (GH-22017) (#22034) 2020-09-03 12:38:29 -07:00
test_protocols.py bpo-35394: Add empty slots to abstract asyncio protocols (#10889) 2018-12-11 19:07:05 +02:00
test_queues.py bpo-38107: Replace direct future and task contructor calls with factories in asyncio tests (GH-15928) 2019-09-11 16:07:37 +03:00
test_runners.py bpo-41696: Fix handling of debug mode in asyncio.run (GH-22069) (#22071) 2020-09-03 13:54:09 -07:00
test_selector_events.py bpo-38107: Replace direct future and task contructor calls with factories in asyncio tests (GH-15928) 2019-09-11 16:07:37 +03:00
test_sendfile.py bpo-40275: Avoid importing socket in test.support (GH-19603) 2020-04-25 10:06:29 +03:00
test_server.py bpo-40443: Remove unused imports in tests (GH-19804) 2020-04-30 02:21:30 +02:00
test_sock_lowlevel.py bpo-41317: Remove reader on cancellation in asyncio.loop.sock_accept() (GH-21595) 2020-07-23 13:02:47 -07:00
test_sslproto.py bpo-40443: Remove unused imports in tests (GH-19804) 2020-04-30 02:21:30 +02:00
test_streams.py bpo-40275: Avoid importing socket in test.support (GH-19603) 2020-04-25 10:06:29 +03:00
test_subprocess.py Suppress the hang (#18457) 2020-02-27 00:15:12 +02:00
test_tasks.py bpo-37658: Fix asyncio.wait_for() to respect waited task status (GH-21894) (GH-21964) 2020-08-26 19:15:35 +02:00
test_threads.py bpo-32309: Add support for contextvars in asyncio.to_thread() (GH-20278) 2020-05-20 22:38:00 -07:00
test_transports.py bpo-38148: Add slots to asyncio transports (GH-16077) 2019-09-13 15:18:46 +03:00
test_unix_events.py bpo-40275: Avoid importing socket in test.support (GH-19603) 2020-04-25 10:06:29 +03:00
test_windows_events.py bpo-39010: Improve test shutdown (GH-22066) (#22082) 2020-09-03 13:54:43 -07:00
test_windows_utils.py
utils.py bpo-38614: Use test.support.SHORT_TIMEOUT constant (GH-17566) 2019-12-11 11:30:03 +01:00