diff options
Diffstat (limited to 'Lib/test/test_asyncio/test_events.py')
-rw-r--r-- | Lib/test/test_asyncio/test_events.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index bded1a3..fe5b224 100644 --- a/Lib/test/test_asyncio/test_events.py +++ b/Lib/test/test_asyncio/test_events.py @@ -1170,9 +1170,9 @@ class EventLoopTestsMixin: def wait(): loop = self.loop calls.append(loop._run_once_counter) - yield from asyncio.sleep(loop.granularity * 10, loop=loop) + yield from asyncio.sleep(loop._granularity * 10, loop=loop) calls.append(loop._run_once_counter) - yield from asyncio.sleep(loop.granularity / 10, loop=loop) + yield from asyncio.sleep(loop._granularity / 10, loop=loop) calls.append(loop._run_once_counter) self.loop.run_until_complete(wait()) |