cpython/Lib/test/test_asyncio
Diogo Dutra 7e5ef0a571
bpo-42140: Improve asyncio.wait function (GH-22938)
# Improve asyncio.wait function

The original code creates the futures set two times.
We can create this set before, avoiding the second creation.

This new behaviour [breaks the aiokafka library](https://github.com/aio-libs/aiokafka/pull/672), because it gives an iterator to that function, so the second iteration become empty.

Automerge-Triggered-By: GH:1st1
2020-11-10 14:12:52 -08:00
..
__init__.py bpo-40275: Use new test.support helper submodules in tests (GH-20824) 2020-06-25 14:15:40 +02:00
__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-40275: Use new test.support helper submodules in tests (GH-20824) 2020-06-25 14:15:40 +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-38912: fix close before connect callback in test_asyncio SSL tests (GH-22691) 2020-10-19 21:18:57 -04: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_futures2.py bpo-42183: Fix a stack overflow error for asyncio Task or Future repr() (GH-23020) 2020-11-10 15:58:31 +02: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 (#22017) 2020-08-31 12:57:52 -07:00
test_protocols.py
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 (#22069) 2020-09-02 21:54:46 -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-41687: Fix sendfile implementation to work with Solaris (#22040) 2020-09-05 12:10:01 -07: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() (#21595) 2020-07-23 12:45:08 -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 bpo-40275: Use new test.support helper submodules in tests (GH-20824) 2020-06-25 14:15:40 +02:00
test_tasks.py bpo-42140: Improve asyncio.wait function (GH-22938) 2020-11-10 14:12:52 -08:00
test_threads.py bpo-32309: Add support for contextvars in asyncio.to_thread() (GH-20278) 2020-05-20 22:20:43 -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: Use new test.support helper submodules in tests (GH-20824) 2020-06-25 14:15:40 +02:00
test_windows_events.py bpo-39010: Improve test shutdown (#22066) 2020-09-02 21:58:50 -07:00
test_windows_utils.py
utils.py bpo-40275: Adding threading_helper submodule in test.support (GH-20263) 2020-05-28 00:10:27 +02:00