cpython/Lib/test/test_asyncio
Yury Selivanov 431b540bf7
bpo-32528: Make asyncio.CancelledError a BaseException. (GH-13528)
This will address the common mistake many asyncio users make:
an "except Exception" clause breaking Tasks cancellation.

In addition to this change, we stop inheriting asyncio.TimeoutError
and asyncio.InvalidStateError from their concurrent.futures.*
counterparts.  There's no point for these exceptions to share the
inheritance chain.

In 3.9 we'll focus on implementing supervisors and cancel scopes,
which should allow better handling of all exceptions, including
SystemExit and KeyboardInterrupt
2019-05-27 14:45:12 +02:00
..
__init__.py
__main__.py
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-32528: Make asyncio.CancelledError a BaseException. (GH-13528) 2019-05-27 14:45:12 +02:00
test_buffered_proto.py bpo-34728: Fix asyncio tests to run under "-Werror" (GH-9661) 2018-10-02 13:53:06 -04:00
test_context.py
test_events.py bpo-36921: Deprecate @coroutine for sake of async def (GH-13346) 2019-05-16 07:52:10 -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-36921: Deprecate @coroutine for sake of async def (GH-13346) 2019-05-16 07:52:10 -07:00
test_pep492.py bpo-36921: Deprecate @coroutine for sake of async def (GH-13346) 2019-05-16 07:52:10 -07:00
test_proactor_events.py bpo-23057: add loop self socket as wakeup fd for signals (#11135) 2018-12-18 23:56:17 +02: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-34728: Fix asyncio tests to run under "-Werror" (GH-9661) 2018-10-02 13:53:06 -04:00
test_runners.py
test_selector_events.py bpo-31922: Do not connect UDP sockets when broadcast is allowed (GH-423) 2019-05-07 10:18:49 -07:00
test_sendfile.py bpo-32710: test_asyncio: test_sendfile reset policy (GH-11461) 2019-01-07 23:55:57 +01:00
test_server.py bpo-36341: Fix tests calling bind() on AF_UNIX sockets (GH-12399) 2019-05-03 08:09:17 -07:00
test_sock_lowlevel.py bpo-30064: Refactor sock_* asyncio API (#10419) 2018-11-12 19:00:22 +02:00
test_sslproto.py bpo-35926: Add support for OpenSSL 1.1.1b on Windows (GH-11779) 2019-05-15 15:38:55 -07:00
test_streams.py bpo-36921: Deprecate @coroutine for sake of async def (GH-13346) 2019-05-16 07:52:10 -07:00
test_subprocess.py bpo-35721: Close socket pair if Popen in _UnixSubprocessTransport fails (GH-11553) 2019-05-20 05:02:16 -07:00
test_tasks.py bpo-32528: Make asyncio.CancelledError a BaseException. (GH-13528) 2019-05-27 14:45:12 +02:00
test_transports.py
test_unix_events.py bpo-35602: Make sure the transport is always closed in SelectorEventLoopUnixSockSendfileTests (GH-11338) 2018-12-29 19:18:38 +00:00
test_windows_events.py Pass _asyncio_internal=True into stream tests on windows (#13442) 2019-05-20 17:38:57 +03:00
test_windows_utils.py
utils.py bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182) 2018-12-17 09:36:36 +01:00