]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-110088, gh-109878: Fix test_asyncio timeouts (#110092) (#110099)
authorVictor Stinner <vstinner@python.org>
Fri, 29 Sep 2023 12:16:15 +0000 (14:16 +0200)
committerGitHub <noreply@github.com>
Fri, 29 Sep 2023 12:16:15 +0000 (14:16 +0200)
commit184ce1414baa7ceb6450d54783ff8e63c907a6b0
tree5af3a98b550f97cc991aaf70e2e0ca1abfed8d67
parentd81bcc232765613b2e48a2b29d238bff8723a794
[3.11] gh-110088, gh-109878: Fix test_asyncio timeouts (#110092) (#110099)

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.

(cherry picked from commit db0a258e796703e12befea9d6dec04e349ca2f5b)
Lib/test/test_asyncio/test_base_events.py
Lib/test/test_asyncio/test_events.py
Lib/test/test_asyncio/test_timeouts.py
Lib/test/test_asyncio/test_waitfor.py
Lib/test/test_asyncio/test_windows_events.py
Lib/test/test_asyncio/utils.py
Misc/NEWS.d/next/Tests/2023-09-29-12-48-42.gh-issue-110088.qUhRga.rst [new file with mode: 0644]