summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-10-17 09:59:10 (GMT)
committerGitHub <noreply@github.com>2023-10-17 09:59:10 (GMT)
commitae495de4e65b2c8fbde16a246537b4484efed255 (patch)
tree75ad853d5fead7c5228425a25198e33bed61fa77 /Lib/test/test_asyncio
parent57ae64f76693b905f5fa72eaf320ad28c3a30440 (diff)
downloadcpython-ae495de4e65b2c8fbde16a246537b4484efed255.zip
cpython-ae495de4e65b2c8fbde16a246537b4484efed255.tar.gz
cpython-ae495de4e65b2c8fbde16a246537b4484efed255.tar.bz2
[3.11] gh-110695: test_asyncio uses 50 ms for clock resolution (GH-110952) (#110971)
gh-110695: test_asyncio uses 50 ms for clock resolution (GH-110952) Before utils.CLOCK_RES constant was added (20 ms), test_asyncio already used 50 ms. (cherry picked from commit 9a9fba825f8aaee4ea9b3429875c6c6324d0dee0) Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Lib/test/test_asyncio')
-rw-r--r--Lib/test/test_asyncio/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/utils.py b/Lib/test/test_asyncio/utils.py
index f49db4e..d6f60db 100644
--- a/Lib/test/test_asyncio/utils.py
+++ b/Lib/test/test_asyncio/utils.py
@@ -38,9 +38,9 @@ from test.support import threading_helper
# Use the maximum known clock resolution (gh-75191, gh-110088): Windows
-# GetTickCount64() has a resolution of 15.6 ms. Use 20 ms to tolerate rounding
+# GetTickCount64() has a resolution of 15.6 ms. Use 50 ms to tolerate rounding
# issues.
-CLOCK_RES = 0.020
+CLOCK_RES = 0.050
def data_file(*filename):