From 7b467db4d3f76600d14b39bacbe9bc4b1b10698e Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 11 Feb 2014 09:03:47 +0100 Subject: [PATCH] Issue #20505: Fix TestLoop, set the clock resolution --- Lib/asyncio/test_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py index 71d69cfacc8..7c8e1dcbd6c 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()