cpython/Lib/test/test_asyncio
Victor Stinner ced6924630
gh-108973: Fix asyncio test_subprocess_consistent_callbacks() (#109431)
SubprocessProtocol process_exited() method can be called before
pipe_data_received() and pipe_connection_lost() methods. Document it
and adapt the test for that.

Revert commit 282edd7b2a.
_child_watcher_callback() calls immediately _process_exited(): don't
add an additional delay with call_soon(). The reverted change didn't
make _process_exited() more determistic: it can still be called
before pipe_connection_lost() for example.

Co-authored-by: Davide Rizzo <sorcio@gmail.com>
2023-09-20 15:54:19 +02:00
..
__init__.py
__main__.py
echo.py
echo2.py
echo3.py
functional.py
test_base_events.py Fix potential flakiness in test_run_until_complete_baseexception (#100148) 2022-12-10 15:34:22 +05:30
test_buffered_proto.py
test_context.py
test_eager_task_factory.py gh-105987: Fix reference counting issue in _asyncio._swap_current_task (#105989) 2023-06-24 10:53:24 +05:30
test_events.py gh-109295: Clean up multiprocessing in test_asyncio and test_compileall (#109298) 2023-09-12 03:31:15 +02:00
test_futures.py gh-101326: Fix regression when passing None to FutureIter.throw (#101327) 2023-01-25 12:01:01 -08:00
test_futures2.py GH-96764: rewrite asyncio.wait_for to use asyncio.timeout (#98518) 2023-02-17 00:18:21 +05:30
test_locks.py gh-97545: Make Semaphore run faster. (#97549) 2022-09-26 16:38:00 -07:00
test_pep492.py GH-102748: remove legacy support for generator based coroutines from asyncio.iscoroutine (#102749) 2023-03-16 20:28:10 +05:30
test_proactor_events.py gh-103607: Fix pause_reading to work when called from connection_made in asyncio. (#17425) 2023-04-27 15:33:29 +05:30
test_protocols.py
test_queues.py
test_runners.py gh-107895: Fix test_asyncio.test_runners when run it in CPython's "development mode" (GH-108168) 2023-08-21 07:55:09 +00:00
test_selector_events.py gh-106527: asyncio: optimize to add/remove readers and writers (#106528) 2023-07-22 21:07:40 +00:00
test_sendfile.py gh-98174: Handle EPROTOTYPE under macOS in test_sendfile_fallback_close_peer_in_the_middle_of_receiving (#98316) 2022-10-17 08:45:38 -07:00
test_server.py GH-79033: Fix asyncio.Server.wait_closed() (#98582) 2022-11-24 08:32:58 -07:00
test_sock_lowlevel.py gh-109015: Add test.support.socket_helper.tcp_blackhole() (#109016) 2023-09-07 01:58:03 +02:00
test_ssl.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
test_sslproto.py gh-109015: Add test.support.socket_helper.tcp_blackhole() (#109016) 2023-09-07 01:58:03 +02:00
test_streams.py GH-106684: raise ResourceWarning when asyncio.StreamWriter is not closed (#107650) 2023-08-05 17:48:15 +05:30
test_subprocess.py gh-108973: Fix asyncio test_subprocess_consistent_callbacks() (#109431) 2023-09-20 15:54:19 +02:00
test_taskgroups.py GH-95704: Don't suppress errors from tasks when TG is cancelled (#95761) 2022-08-16 18:23:06 -07:00
test_tasks.py gh-105331: Change asyncio.sleep to raise `ValueError for nan (#105641) 2023-06-12 20:29:02 +00:00
test_threads.py
test_timeouts.py gh-102780: Fix uncancel() call in asyncio timeouts (#102815) 2023-03-22 10:52:10 -07:00
test_transports.py
test_unix_events.py gh-103780: Use patch instead of mock in asyncio unix events test (#103782) 2023-04-24 20:12:48 +00:00
test_waitfor.py GH-97546: fix flaky asyncio test_wait_for_race_condition test (#102421) 2023-03-05 12:15:22 +05:30
test_windows_events.py GH-100573: Fix server hang caused by os.stat() on named pipe (Windows) (#100959) 2023-01-13 13:24:57 -08:00
test_windows_utils.py
utils.py gh-108303: Move all certificates to Lib/test/certdata/ (#109489) 2023-09-16 18:47:18 +02:00