summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-10-17 09:34:04 (GMT)
committerGitHub <noreply@github.com>2023-10-17 09:34:04 (GMT)
commit9a9fba825f8aaee4ea9b3429875c6c6324d0dee0 (patch)
treea721d45a46594cbc1861e00b47e0100990b995b5 /Lib/test
parent78e4a6de48749f4f76987ca85abb0e18f586f9c4 (diff)
downloadcpython-9a9fba825f8aaee4ea9b3429875c6c6324d0dee0.zip
cpython-9a9fba825f8aaee4ea9b3429875c6c6324d0dee0.tar.gz
cpython-9a9fba825f8aaee4ea9b3429875c6c6324d0dee0.tar.bz2
gh-110695: test_asyncio uses 50 ms for clock resolution (#110952)
Before utils.CLOCK_RES constant was added (20 ms), test_asyncio already used 50 ms.
Diffstat (limited to 'Lib/test')
-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 e1101bf..83fac4a 100644
--- a/Lib/test/test_asyncio/utils.py
+++ b/Lib/test/test_asyncio/utils.py
@@ -37,9 +37,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):