cpython/Lib/test/test_asyncio
Miss Islington (bot) afbcd9f26d
bpo-35998: Fix test_asyncio.test_start_tls_server_1() (GH-16815)
main() is now responsible to send the ANSWER, rather than
ServerProto. main() now waits until it got the HELLO before sending
the ANSWER over the new transport.

Previously, there was a race condition between main() replacing the
protocol and the protocol sending the ANSWER once it gets the HELLO.

TLSv1.3 was disabled for the test: reenable it.
(cherry picked from commit fab4ef2df0)

Co-authored-by: Victor Stinner <vstinner@python.org>
2019-10-16 01:36:57 -07:00
..
__init__.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
__main__.py Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
echo.py
echo2.py
echo3.py
functional.py bpo-35934: Add socket.create_server() utility function (GH-11784) 2019-04-09 00:34:02 +02:00
test_base_events.py bpo-37199: Replace the early returns added in c2cda63. (GH-14535) 2019-09-13 09:12:33 -07:00
test_buffered_proto.py bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" (#16482) (#16485) 2019-09-29 22:30:17 -07:00
test_context.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
test_events.py bpo-38107: Replace direct future and task contructor calls with factories in asyncio tests (GH-15928) 2019-09-11 07:21:53 -07:00
test_futures.py bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. (GH-11175) 2018-12-17 16:52:45 +02:00
test_locks.py bpo-38107: Replace direct future and task contructor calls with factories in asyncio tests (GH-15928) 2019-09-11 07:21:53 -07:00
test_pep492.py bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" (#16482) (#16485) 2019-09-29 22:30:17 -07:00
test_proactor_events.py bpo-33694: Remove test_asyncio ProactorDatagramTransportTests (GH-16288) 2019-09-20 14:27:28 -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 07:21:53 -07:00
test_runners.py bpo-32314: Fix asyncio.run() to cancel runinng tasks on shutdown (#5262) 2018-01-21 14:56:59 -05:00
test_selector_events.py bpo-38107: Replace direct future and task contructor calls with factories in asyncio tests (GH-15928) 2019-09-11 07:21:53 -07:00
test_sendfile.py bpo-37279: Fix asyncio sendfile support when extra data are sent in fallback mode. (GH-14075) 2019-06-15 04:24:16 -07:00
test_server.py Remove unused imports in tests (GH-14518) (GH-14520) 2019-07-01 19:01:52 +02:00
test_sock_lowlevel.py bpo-38107: Replace direct future and task contructor calls with factories in asyncio tests (GH-15928) 2019-09-11 07:21:53 -07:00
test_sslproto.py bpo-35998: Fix test_asyncio.test_start_tls_server_1() (GH-16815) 2019-10-16 01:36:57 -07:00
test_streams.py bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" (#16482) (#16485) 2019-09-29 22:30:17 -07:00
test_subprocess.py bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" (#16482) (#16485) 2019-09-29 22:30:17 -07:00
test_tasks.py bpo-38248: Fix inconsistent immediate asyncio.Task cancellation (GH-16330) (GH-16383) 2019-09-25 04:48:52 -07:00
test_transports.py [3.8] bpo-38148: Add slots to asyncio transports (GH-16077) (GH-16093) 2019-09-13 16:14:55 +03:00
test_unix_events.py bpo-38019: correctly handle pause/resume reading of closed asyncio unix pipe (GH-16472) 2019-09-29 05:20:15 -07:00
test_windows_events.py bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" (#16482) (#16485) 2019-09-29 22:30:17 -07:00
test_windows_utils.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
utils.py bpo-35621: Support running subprocesses in asyncio when loop is executed in non-main thread (GH-14344) 2019-06-30 03:22:34 -07:00