8000 gh-110695: test_asyncio uses 50 ms for clock resolution (#110952) · python/cpython@9a9fba8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9a9fba8

Browse files
authored
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.
1 parent 78e4a6d commit 9a9fba8

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)
0