From: Victor Stinner Date: Fri, 31 Jan 2014 00:05:07 +0000 (-0800) Subject: asyncio: Fix granularity of test_utils.TestLoop. X-Git-Tag: v3.4.0rc1~171 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c165373270f113f007146e7c47008256a5d57e3;p=thirdparty%2FPython%2Fcpython.git asyncio: Fix granularity of test_utils.TestLoop. --- diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py index 42b9cd75ae87..fed28d7d64a3 100644 --- a/Lib/asyncio/test_utils.py +++ b/Lib/asyncio/test_utils.py @@ -196,6 +196,7 @@ class TestLoop(base_events.BaseEventLoop): next(self._gen) self._time = 0 self._timers = [] + self._granularity = 1e-9 self._selector = TestSelector() self.readers = {}