diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-01-31 00:05:07 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-01-31 00:05:07 (GMT) |
commit | 1c165373270f113f007146e7c47008256a5d57e3 (patch) | |
tree | cb0548cd05513f125c4c43cfc8e471f26762096b | |
parent | 95728982825e1c7247d40e8cfcae48b46377baa6 (diff) | |
download | cpython-1c165373270f113f007146e7c47008256a5d57e3.zip cpython-1c165373270f113f007146e7c47008256a5d57e3.tar.gz cpython-1c165373270f113f007146e7c47008256a5d57e3.tar.bz2 |
asyncio: Fix granularity of test_utils.TestLoop.
-rw-r--r-- | Lib/asyncio/test_utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py index 42b9cd7..fed28d7 100644 --- a/Lib/asyncio/test_utils.py +++ b/Lib/asyncio/test_utils.py @@ -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 = {} |