Kumar Aditya
5892853fb7
gh-127949: deprecate `asyncio.set_event_loop_policy` ( #128024 )
...
First step towards deprecating the asyncio policy system.
This deprecates `asyncio.set_event_loop_policy` and will be removed in Python 3.16.
2024-12-18 11:35:29 +05:30
cui fliter
e7ba6e9dbe
chore: fix typos ( #116345 )
...
Signed-off-by: cui fliter <imcusg@gmail.com>
2024-03-05 09:05:52 -07:00
Victor Stinner
db0a258e79
gh-110088, gh-109878: Fix test_asyncio timeouts ( #110092 )
...
Fix test_asyncio timeouts: don't measure the maximum duration, a test
should not measure a CI performance. Only measure the minimum
duration when a task has a timeout or delay. Add CLOCK_RES to
test_asyncio.utils.
2023-09-29 11:49:30 +00:00
Victor Stinner
f29bc9c9a0
gh-109833: Fix asyncio test_wait_for() ( #109834 )
...
Expect the test to be "short" but don't measure the exact performance
of the CI. SHORT_TIMEOUT is about 30 seconds whereas the cancelled
coroutine takes around 1 hour.
2023-09-25 13:27:36 +00:00
Kumar Aditya
a74cd3ba5d
GH-97546: fix flaky asyncio `test_wait_for_race_condition` test ( #102421 )
2023-03-05 12:15:22 +05:30
Kumar Aditya
a5024a261a
GH-96764: rewrite `asyncio.wait_for` to use `asyncio.timeout` ( #98518 )
...
Changes `asyncio.wait_for` to use `asyncio.timeout` as its underlying implementation.
2023-02-17 00:18:21 +05:30
Andrew Svetlov
a7c5414832
bpo-47038: Increase a test timeout for slow CI machines (GH-31951)
2022-03-17 02:54:36 +02:00
Andrew Svetlov
3dd9bfac04
bpo-47038: Rewrite missed asyncio.wait_for test to use IsolatedAnsyncioTestCase (GH-31946)
2022-03-17 01:20:29 +02:00
Andrew Svetlov
dd0082c627
bpo-47038: Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase (GH-31942)
2022-03-16 21:49:18 +02:00