mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
asyncio: Fix granularity of test_utils.TestLoop.
This commit is contained in:
parent
9572898282
commit
1c16537327
1 changed files with 1 additions and 0 deletions
|
@ -196,6 +196,7 @@ class TestLoop(base_events.BaseEventLoop):
|
|||
next(self._gen)
|
||||
self._time = 0
|
||||
self._timers = []
|
||||
self._granularity = 1e-9
|
||||
self._selector = TestSelector()
|
||||
|
||||
self.readers = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue