mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #20505: Fix TestLoop, set the clock resolution
This commit is contained in:
parent
42ec031fe7
commit
06847d9c8c
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue