mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +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)
|
next(self._gen)
|
||||||
self._time = 0
|
self._time = 0
|
||||||
self._timers = []
|
self._timers = []
|
||||||
|
self._granularity = 1e-9
|
||||||
self._selector = TestSelector()
|
self._selector = TestSelector()
|
||||||
|
|
||||||
self.readers = {}
|
self.readers = {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue