[Python-checkins] cpython (3.4): Issue #20505: Fix TestLoop, set the clock resolution
larry.hastings
python-checkins at python.org
Mon Mar 17 07:31:21 CET 2014
http://hg.python.org/cpython/rev/375e4f9c9732
changeset: 89696:375e4f9c9732
branch: 3.4
user: Victor Stinner <victor.stinner at gmail.com>
date: Tue Feb 11 09:03:47 2014 +0100
summary:
Issue #20505: Fix TestLoop, set the clock resolution
files:
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
--- a/Lib/asyncio/test_utils.py
+++ b/Lib/asyncio/test_utils.py
@@ -191,6 +191,7 @@
self._gen = gen()
next(self._gen)
self._time = 0
+ self._clock_resolution = 1e-9
self._timers = []
self._selector = TestSelector()
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list