]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-110088, gh-109878: Fix test_asyncio timeouts (#110092)
authorVictor Stinner <vstinner@python.org>
Fri, 29 Sep 2023 11:49:30 +0000 (13:49 +0200)
committerGitHub <noreply@github.com>
Fri, 29 Sep 2023 11:49:30 +0000 (11:49 +0000)
commitdb0a258e796703e12befea9d6dec04e349ca2f5b
tree2f64962f2798a8b06bb22a38ce56eab7fc8683eb
parente27adc68ccee8345e05b7516e6b46f6c7ff53371
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.
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]