From: Victor Stinner Date: Tue, 11 Feb 2014 08:03:47 +0000 (+0100) Subject: Issue #20505: Fix TestLoop, set the clock resolution X-Git-Tag: v3.4.1rc1~233^2~360^2^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06847d9c8c30715c077e083de1c511e399af75f1;p=thirdparty%2FPython%2Fcpython.git Issue #20505: Fix TestLoop, set the clock resolution --- diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py index 71d69cfacc82..7c8e1dcbd6cf 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()