cpython/Lib/test/test_asyncio
Victor Stinner 1bceb0e589
bpo-35998: Fix test_asyncio.test_start_tls_server_1() (GH-16815) (GH-16818)
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)
2019-10-16 11:44:30 +02:00
..
__init__.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
__main__.py
echo.py
echo2.py
echo3.py
functional.py [3.7] bpo-33789: Backport test_asyncio fixes from master (GH-7478) 2018-06-07 16:19:00 +02:00
test_base_events.py bpo-35545: Fix asyncio discarding IPv6 scopes (GH-11271) 2019-05-17 02:05:19 -07:00
test_buffered_proto.py bpo-33654: Support BufferedProtocol in set_protocol() and start_tls() (GH-7130) 2018-05-28 11:50:45 -07:00
test_context.py bpo-32630: Use contextvars in decimal (GH-5278) 2018-01-27 13:46:46 -05:00
test_events.py [3.7] bpo-37279: Fix asyncio sendfile support when extra data are sent in fallback mode. (GH-14075). (GH-14103) 2019-06-15 14:56:27 +03:00
test_futures.py bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. (GH-11175) 2018-12-17 07:10:20 -08:00
test_locks.py bpo-32751: Wait for task cancellation in asyncio.wait_for() (GH-7216) 2018-05-29 15:37:06 -07:00
test_pep492.py Revert "Remove unused imports in tests (GH-14518) (GH-14522)" (GH-14555) 2019-07-02 14:42:39 +02:00
test_proactor_events.py bpo-33833: Fix ProactorSocketTransport AssertionError (GH-7893) 2018-07-30 13:04:30 -07:00
test_queues.py bpo-32574: Fix leaks in asyncio.Queue.put() and .get() (#5208) 2018-01-25 18:45:43 -05: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 [3.7] bpo-37035: Don't log OSError (GH-13548) (#13594) 2019-05-27 18:52:05 +03:00
test_server.py bpo-32662: Try making test_asyncio.test_server more reliable (#5338) 2018-01-26 01:30:57 -05:00
test_sslproto.py bpo-35998: Fix test_asyncio.test_start_tls_server_1() (GH-16815) (GH-16818) 2019-10-16 11:44:30 +02:00
test_streams.py Revert "bpo-36801: Fix waiting in StreamWriter.drain for closing SSL transport (GH-13098)" (GH-13328) 2019-05-14 22:29:54 +02:00
test_subprocess.py bpo-35721: Close socket pair if Popen in _UnixSubprocessTransport fails (GH-11553) 2019-05-20 05:35:56 -07:00
test_tasks.py bpo-35125: remove inner callback on outer cancellation in asyncio shield (GH-10340) 2019-05-07 12:38:00 -07:00
test_transports.py Improve test coverage (#4924) 2017-12-19 08:51:16 +02:00
test_unix_events.py bpo-38019: correctly handle pause/resume reading of closed asyncio unix pipe (GH-16472) 2019-09-29 05:19:11 -07:00
test_windows_events.py bpo-33792: Add selector and proactor windows policies (GH-7487) 2018-06-07 18:31:50 -07:00
test_windows_utils.py bpo-32273: Move asyncio.test_utils to test.test_asyncio (#4785) 2017-12-11 10:04:40 -05:00
utils.py bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182) 2018-12-17 01:03:04 -08:00