]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-110695: test_asyncio uses 50 ms for clock resolution (#110952)
authorVictor Stinner <vstinner@python.org>
Tue, 17 Oct 2023 09:34:04 +0000 (11:34 +0200)
committerGitHub <noreply@github.com>
Tue, 17 Oct 2023 09:34:04 +0000 (11:34 +0200)
Before utils.CLOCK_RES constant was added (20 ms), test_asyncio
already used 50 ms.

Lib/test/test_asyncio/utils.py

index e1101bf42eb24ec7855467c7fab800f0fff72e29..83fac4a26aff9ebf7d64a61833e805a9e6d53c37 100644 (file)
@@ -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):