projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42ec031
)
Issue #20505: Fix TestLoop, set the clock resolution
author
Victor Stinner
<victor.stinner@gmail.com>
Tue, 11 Feb 2014 08:03:47 +0000
(09:03 +0100)
committer
Victor Stinner
<victor.stinner@gmail.com>
Tue, 11 Feb 2014 08:03:47 +0000
(09:03 +0100)
Lib/asyncio/test_utils.py
patch
|
blob
|
history
diff --git
a/Lib/asyncio/test_utils.py
b/Lib/asyncio/test_utils.py
index 71d69cfacc82a0cdf17ed19c700431803b222167..7c8e1dcbd6cfdd1c64e74a35bbe5269dd5f3b466 100644
(file)
--- 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()