mirror of
https://github.com/python/cpython.git
synced 2025-07-19 01:05:26 +00:00
[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 9a9fba825f
)
Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
parent
57ae64f766
commit
ae495de4e6
1 changed files with 2 additions and 2 deletions
|
@ -38,9 +38,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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue