cpython/Lib/test/test_asyncio
Oleg Iarygin f99bb20cde
gh-97983: Revert "Lay the foundation for further work in asyncio.test_streams: port server cases to IsolatedAsyncioTestCase" (#98015)
This PR reverts gh-93369 and gh-97896 because they've made asyncio tests unstable. After these PRs were merged, random GitHub action jobs of random commits started to fail unrelated tests and test framework methods.

The reverting is necessary because such shrapnel failures are a symptom of some underlying bug that must be found and fixed first.

I had a hope that it's a server overload because we already have extremely rare disc access errors. However, one and a half day passed, and the failures continue to emerge both in PRs and commits.

Affected issue: gh-93357.
First reported in https://github.com/python/cpython/pull/97940#issuecomment-1270004134.

* Revert "gh-93357: Port test cases to IsolatedAsyncioTestCase, part 2 (#97896)"

This reverts commit 09aea94d29.

* Revert "gh-93357: Start porting asyncio server test cases to IsolatedAsyncioTestCase (#93369)"

This reverts commit ce8fc186ac.
2022-10-07 07:14:28 -07:00
..
__init__.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
__main__.py
echo.py
echo2.py
echo3.py
functional.py
test_base_events.py gh-93973: Add all_errors to asyncio.create_connection (#93974) 2022-09-04 18:33:50 -07:00
test_buffered_proto.py
test_context.py bpo-46425: fix direct invocation of `asyncio` tests (#30725) 2022-01-22 13:06:27 +02:00
test_events.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_futures.py GH-90985: Revert "Deprecate passing a message into cancel()" (#97999) 2022-10-06 17:30:27 -07:00
test_futures2.py GH-96704: Add {Task,Handle}.get_context(), use it in call_exception_handler() (#96756) 2022-10-04 23:49:10 -07:00
test_locks.py gh-97545: Make Semaphore run faster. (#97549) 2022-09-26 16:38:00 -07:00
test_pep492.py
test_proactor_events.py Revert "gh-87079: Warn on unintended signal wakeup fd override in `asyncio` (#96807)" (#96898) 2022-09-17 14:12:45 -07:00
test_protocols.py Fix warning: asyncio.events._event_loop_policy was modified by test_asyncio (GH-31253) 2022-02-10 14:57:20 +02:00
test_queues.py bpo-47076: Make asyncio.Queue stable on slow test boxes (GH-32040) 2022-03-22 16:00:23 +02:00
test_runners.py GH-95899: fix asyncio.Runner to call set_event_loop only once (#95900) 2022-08-15 10:02:47 -07:00
test_selector_events.py gh-72889: Remove redundant mock.Mock()._is_coroutine = False workarounds (#94926) 2022-07-17 10:21:58 -07:00
test_sendfile.py Remove trailing spaces (GH-31695) 2022-03-05 17:47:00 +02:00
test_server.py
test_sock_lowlevel.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_ssl.py gh-95573: Reduce test data size in test_asyncio/test_ssl.py (GH-95668) 2022-08-05 10:45:36 +02:00
test_sslproto.py bpo-46198: Fix `test_asyncio.test_sslproto` (GH-31801) 2022-03-10 13:36:22 -08:00
test_streams.py gh-97983: Revert "Lay the foundation for further work in asyncio.test_streams: port server cases to IsolatedAsyncioTestCase" (#98015) 2022-10-07 07:14:28 -07:00
test_subprocess.py gh-88050: Fix asyncio subprocess to kill process cleanly when process is blocked (#32073) 2022-10-05 10:15:31 -07: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-90985: Revert "Deprecate passing a message into cancel()" (#97999) 2022-10-06 17:30:27 -07:00
test_threads.py bpo-47104: Rewrite asyncio.to_thread tests to use IsolatedAsyncioTestCase (GH-32086) 2022-03-23 23:17:07 +02:00
test_timeouts.py gh-95051: ensure that timeouts scheduled with `asyncio.Timeout` that have already expired are deliverered promptly (#95109) 2022-07-24 13:18:05 -07:00
test_transports.py Fix warning: asyncio.events._event_loop_policy was modified by test_asyncio (GH-31253) 2022-02-10 14:57:20 +02:00
test_unix_events.py Revert "gh-87079: Warn on unintended signal wakeup fd override in `asyncio` (#96807)" (#96898) 2022-09-17 14:12:45 -07:00
test_waitfor.py bpo-47038: Increase a test timeout for slow CI machines (GH-31951) 2022-03-17 02:54:36 +02:00
test_windows_events.py fix DeprecationWarning when running asyncio tests (GH-30486) 2022-01-22 13:20:10 +02:00
test_windows_utils.py
utils.py gh-93852: Add test.support.create_unix_domain_name() (#93914) 2022-06-17 13:16:51 +02:00