Home
last modified time | relevance | path

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

12

/third_party/python/Lib/asyncio/
Drunners.py41 events.set_event_loop(loop)
51 events.set_event_loop(None)
Devents.py602 def set_event_loop(self, loop): member in AbstractEventLoopPolicy
653 self.set_event_loop(self.new_event_loop())
661 def set_event_loop(self, loop): member in BaseDefaultEventLoopPolicy
775 def set_event_loop(loop): function
777 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)
/third_party/python/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)
227 asyncio.set_event_loop(self.loop)
228 self.addCleanup(asyncio.set_event_loop, None)
264 asyncio.set_event_loop(self.loop)
265 self.addCleanup(asyncio.set_event_loop, None)
285 self.set_event_loop(loop)
306 self.set_event_loop(loop)
329 self.set_event_loop(loop)
575 self.set_event_loop(loop)
604 self.set_event_loop(loop)
[all …]
Dutils.py533 def set_event_loop(self, loop, *, cleanup=True): member in TestCase
537 events.set_event_loop(None)
543 self.set_event_loop(loop)
550 events.set_event_loop(None)
Dfunctional.py27 asyncio.set_event_loop(None)
42 asyncio.set_event_loop(None)
Dtest_events.py60 asyncio.set_event_loop(loop)
265 self.set_event_loop(self.loop)
2250 self.set_event_loop(loop)
2555 self.assertRaises(NotImplementedError, policy.set_event_loop, object())
2577 wraps=policy.set_event_loop) as m_set_event_loop:
2590 policy.set_event_loop(None)
2615 self.assertRaises(AssertionError, policy.set_event_loop, object())
2618 policy.set_event_loop(loop)
2667 asyncio.set_event_loop(self.loop)
2682 asyncio.set_event_loop(None)
[all …]
Dtest_streams.py33 self.set_event_loop(self.loop)
74 asyncio.set_event_loop(None)
768 self.addCleanup(asyncio.set_event_loop, None)
769 asyncio.set_event_loop(self.loop)
796 self.addCleanup(asyncio.set_event_loop, None)
797 asyncio.set_event_loop(self.loop)
Dtest_unix_events.py61 self.set_event_loop(self.loop)
284 self.set_event_loop(self.loop)
490 self.set_event_loop(self.loop)
1723 policy.set_event_loop(policy.new_event_loop())
1754 policy.set_event_loop(new_loop)
1758 policy.set_event_loop(None)
1770 asyncio.set_event_loop(self.loop)
1774 asyncio.set_event_loop(None)
Dtest_runners.py21 def set_event_loop(self, loop): member in TestPolicy
Dtest_subprocess.py46 self.set_event_loop(self.loop)
649 self.set_event_loop(self.loop)
709 self.set_event_loop(self.loop)
Dtest_futures.py157 asyncio.set_event_loop(self.loop)
158 self.addCleanup(asyncio.set_event_loop, None)
516 asyncio.set_event_loop(self.loop)
517 self.addCleanup(asyncio.set_event_loop, None)
Dtest_pep492.py40 self.set_event_loop(self.loop)
Dtest_base_events.py158 self.set_event_loop(self.loop)
318 asyncio.set_event_loop(loop2)
321 asyncio.set_event_loop(None)
685 asyncio.set_event_loop(loop)
794 self.set_event_loop(loop)
1068 self.set_event_loop(self.loop)
1925 asyncio.set_event_loop(self.loop)
2009 self.set_event_loop(self.loop)
Dtest_queues.py258 asyncio.set_event_loop(self.loop)
501 asyncio.set_event_loop(self.loop)
Dtest_windows_events.py87 self.set_event_loop(self.loop)
/third_party/python/Lib/unittest/
Dasync_case.py113 asyncio.set_event_loop(loop)
151 asyncio.set_event_loop(None)
/third_party/grpc/src/python/grpcio_tests/tests_aio/unit/
D_test_base.py41 asyncio.set_event_loop(loop)
Doutside_init_test.py65 asyncio.set_event_loop(loop)
/third_party/grpc/src/python/grpcio_tests/tests_aio/benchmark/
Dworker.py57 asyncio.set_event_loop(loop)
/third_party/python/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)
/third_party/python/Lib/test/
Dtest_contextlib_async.py18 asyncio.set_event_loop(loop)
418 asyncio.set_event_loop(self.loop)

12