Home
last modified time | relevance | path

Searched refs:set_event_loop (Results 1 – 25 of 34) sorted by relevance

12

/external/python/cpython3/Lib/asyncio/
Drunners.py41 events.set_event_loop(loop)
51 events.set_event_loop(None)
Devents.py588 def set_event_loop(self, loop): member in AbstractEventLoopPolicy
639 self.set_event_loop(self.new_event_loop())
647 def set_event_loop(self, loop): member in BaseDefaultEventLoopPolicy
754 def set_event_loop(loop): function
756 get_event_loop_policy().set_event_loop(loop)
D__main__.py94 asyncio.set_event_loop(loop)
Dunix_events.py1430 def set_event_loop(self, loop): member in _UnixDefaultEventLoopPolicy
1438 super().set_event_loop(loop)
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_threads.py19 asyncio.set_event_loop(self.loop)
25 asyncio.set_event_loop(None)
Dtest_tasks.py196 self.set_event_loop(loop)
214 self.set_event_loop(loop)
231 self.set_event_loop(loop)
252 self.set_event_loop(loop)
275 self.set_event_loop(loop)
521 self.set_event_loop(loop)
550 self.set_event_loop(loop)
609 self.set_event_loop(loop)
643 self.set_event_loop(loop)
667 self.set_event_loop(loop)
[all …]
Dutils.py531 def set_event_loop(self, loop, *, cleanup=True): member in TestCase
534 events.set_event_loop(None)
540 self.set_event_loop(loop)
554 events.set_event_loop(None)
Dfunctional.py27 asyncio.set_event_loop(None)
47 asyncio.set_event_loop(None)
Dtest_streams.py33 self.set_event_loop(self.loop)
83 asyncio.set_event_loop(None)
775 self.addCleanup(asyncio.set_event_loop, None)
776 asyncio.set_event_loop(self.loop)
784 self.addCleanup(asyncio.set_event_loop, None)
785 asyncio.set_event_loop(self.loop)
Dtest_events.py59 asyncio.set_event_loop(loop)
244 self.set_event_loop(self.loop)
2227 self.set_event_loop(loop)
2532 self.assertRaises(NotImplementedError, policy.set_event_loop, object())
2554 wraps=policy.set_event_loop) as m_set_event_loop:
2567 policy.set_event_loop(None)
2592 self.assertRaises(AssertionError, policy.set_event_loop, object())
2595 policy.set_event_loop(loop)
2644 asyncio.set_event_loop(self.loop)
2659 asyncio.set_event_loop(None)
[all …]
Dtest_runners.py21 def set_event_loop(self, loop): member in TestPolicy
Dtest_subprocess.py45 self.set_event_loop(self.loop)
668 self.set_event_loop(self.loop)
726 self.set_event_loop(self.loop)
Dtest_locks.py40 asyncio.set_event_loop(self.loop)
72 self.set_event_loop(loop)
326 asyncio.set_event_loop(self.loop)
459 asyncio.set_event_loop(self.loop)
824 asyncio.set_event_loop(self.loop)
Dtest_unix_events.py52 self.set_event_loop(self.loop)
275 self.set_event_loop(self.loop)
481 self.set_event_loop(self.loop)
1853 policy.set_event_loop(policy.new_event_loop())
1884 policy.set_event_loop(new_loop)
1888 policy.set_event_loop(None)
1900 asyncio.set_event_loop(self.loop)
1904 asyncio.set_event_loop(None)
Dtest_pep492.py40 self.set_event_loop(self.loop)
Dtest_base_events.py157 self.set_event_loop(self.loop)
317 asyncio.set_event_loop(loop2)
320 asyncio.set_event_loop(None)
684 asyncio.set_event_loop(loop)
793 self.set_event_loop(loop)
1059 self.set_event_loop(self.loop)
1916 asyncio.set_event_loop(self.loop)
2000 self.set_event_loop(self.loop)
Dtest_windows_events.py87 self.set_event_loop(self.loop)
Dtest_sock_lowlevel.py56 self.set_event_loop(self.loop)
Dtest_proactor_events.py692 self.set_event_loop(self.loop)
934 self.set_event_loop(self.loop)
Dtest_sendfile.py114 self.set_event_loop(self.loop)
/external/python/cpython3/Lib/unittest/
Dasync_case.py114 asyncio.set_event_loop(loop)
152 asyncio.set_event_loop(None)
/external/python/cpython3/Lib/test/
Dtest_contextlib_async.py16 asyncio.set_event_loop(loop)
318 asyncio.set_event_loop(self.loop)
/external/python/cpython3/Doc/library/
Dasyncio-platforms.rst105 asyncio.set_event_loop(loop)
Dasyncio-policy.rst19 :func:`get_event_loop`, :func:`set_event_loop`, and
63 .. method:: set_event_loop(loop)
Dasyncio-llapi-index.rst24 * - :func:`asyncio.set_event_loop`

12