Skip to content

Commit ae495de

Browse files
[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 9a9fba8) Co-authored-by: Victor Stinner <[email protected]>
1 parent 57ae64f commit ae495de

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
@@ -38,9 +38,9 @@
3838

3939

4040
# Use the maximum known clock resolution (gh-75191, gh-110088): Windows
41-
# GetTickCount64() has a resolution of 15.6 ms. Use 20 ms to tolerate rounding
41+
# GetTickCount64() has a resolution of 15.6 ms. Use 50 ms to tolerate rounding
4242
# issues.
43-
CLOCK_RES = 0.020
43+
CLOCK_RES = 0.050
4444

4545

4646
def data_file(*filename):

0 commit comments

Comments
 (0)