/
usr
/
local
/
lib
/
python3.6
/
site-packages
/
asynctest
/
/usr/local/lib/python3.6/site-packages/asynctest
mkdir
upload
Name
Size
Mode
Actions
__pycache__/
-
0755
rm
case.py
17653
0644
edit
dl
rm
helpers.py
527
0644
edit
dl
rm
mock.py
48928
0644
edit
dl
rm
selector.py
11692
0644
edit
dl
rm
_fail_on.py
4265
0644
edit
dl
rm
__init__.py
884
0644
edit
dl
rm
Edit:
/usr/local/lib/python3.6/site-packages/asynctest/helpers.py
(527B)
# coding: utf-8 """ Module ``helpers`` ------------------ Helper functions and coroutines for :mod:`asynctest`. """ import asyncio @asyncio.coroutine def exhaust_callbacks(loop): """ Run the loop until all ready callbacks are executed. The coroutine doesn't wait for callbacks scheduled in the future with :meth:`~asyncio.BaseEventLoop.call_at()` or :meth:`~asyncio.BaseEventLoop.call_later()`. :param loop: event loop """ while loop._ready: yield from asyncio.sleep(0, loop=loop)
Save
cmd:
run