Skip to content

Commit 9aa8993

Browse files
[3.12] gh-110695: test_asyncio uses 50 ms for clock resolution (GH-110952) (#110970)
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 9a9fba8) Co-authored-by: Victor Stinner <[email protected]>
1 parent 99b7e1c commit 9aa8993

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_asyncio/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737

3838

3939
# Use the maximum known clock resolution (gh-75191, gh-110088): Windows
40-
# GetTickCount64() has a resolution of 15.6 ms. Use 20 ms to tolerate rounding
40+
# GetTickCount64() has a resolution of 15.6 ms. Use 50 ms to tolerate rounding
4141
# issues.
42-
CLOCK_RES = 0.020
42+
CLOCK_RES = 0.050
4343

4444

4545
def data_file(*filename):

0 commit comments

Comments
 (0)