summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-11 08:03:47 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-02-11 08:03:47 (GMT)
commit7b467db4d3f76600d14b39bacbe9bc4b1b10698e (patch)
tree5eaf212a5de1a5f673db4d1c93370eebf3f59fdb /Lib/asyncio
parented1654fa3ea1c05c7397334b09396675f3c3aeaf (diff)
downloadcpython-7b467db4d3f76600d14b39bacbe9bc4b1b10698e.zip
cpython-7b467db4d3f76600d14b39bacbe9bc4b1b10698e.tar.gz
cpython-7b467db4d3f76600d14b39bacbe9bc4b1b10698e.tar.bz2
Issue #20505: Fix TestLoop, set the clock resolution
Diffstat (limited to 'Lib/asyncio')
-rw-r--r--Lib/asyncio/test_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py
index 71d69cf..7c8e1dc 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()