Skip to content

Commit

Permalink
[3.12] gh-110695: test_asyncio uses 50 ms for clock resolution (GH-11…
Browse files Browse the repository at this point in the history
…0952) (#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]>
  • Loading branch information
miss-islington and vstinner authored Oct 17, 2023
1 parent 99b7e1c commit 9aa8993
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/test/test_asyncio/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@


# 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):
Expand Down

0 comments on commit 9aa8993

Please sign in to comment.