diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-02-11 09:03:47 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-02-11 09:03:47 +0100 |
commit | 06847d9c8c30715c077e083de1c511e399af75f1 (patch) | |
tree | 7587f003c9ba849761dc874a0b3bc6b39a1b626a /Lib/asyncio/test_utils.py | |
parent | 42ec031fe75601710b4edbfe7e617b97b4948de6 (diff) | |
download | cpython-git-06847d9c8c30715c077e083de1c511e399af75f1.tar.gz |
Issue #20505: Fix TestLoop, set the clock resolution
Diffstat (limited to 'Lib/asyncio/test_utils.py')
-rw-r--r-- | Lib/asyncio/test_utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py index 71d69cfacc..7c8e1dcbd6 100644 --- a/Lib/asyncio/test_utils.py +++ b/Lib/asyncio/test_utils.py @@ -191,6 +191,7 @@ class TestLoop(base_events.BaseEventLoop): self._gen = gen() next(self._gen) self._time = 0 + self._clock_resolution = 1e-9 self._timers = [] self._selector = TestSelector() |