Issue #20505: Fix TestLoop, set the clock resolution
This commit is contained in:
parent
ed1654fa3e
commit
7b467db4d3
|
@ -191,6 +191,7 @@ class TestLoop(base_events.BaseEventLoop):
|
||||||
self._gen = gen()
|
self._gen = gen()
|
||||||
next(self._gen)
|
next(self._gen)
|
||||||
self._time = 0
|
self._time = 0
|
||||||
|
self._clock_resolution = 1e-9
|
||||||
self._timers = []
|
self._timers = []
|
||||||
self._selector = TestSelector()
|
self._selector = TestSelector()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue