Home
last modified time | relevance | path

Searched refs:new_task (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Lib/test/test_asyncio/
Dtest_tasks.py111 def new_task(self, loop, coro, name='TestTask'): member in BaseTaskTests
120 self.loop.set_task_factory(self.new_task)
126 t = self.new_task(self.loop, coro())
139 t = self.new_task(self.loop, coro())
157 self.new_task(self.loop, run()) for _ in range(100)
188 t = self.new_task(self.loop, notmuch())
197 t = self.new_task(loop, notmuch())
298 t_orig = self.new_task(self.loop, notmuch())
397 t = self.new_task(self.loop, gen)
419 t = self.new_task(self.loop, notmuch())
[all …]
/third_party/libabigail/tests/
Dtest-read-ctf.cc500 new_task(const InOutSpec* s, string& a_out_abi_base, in new_task() function
523 return run_tests(num_tests, in_out_specs, opts, new_task); in main()
Dtest-read-dwarf.cc669 new_task(const InOutSpec* s, string& a_out_abi_base, in new_task() function
692 return run_tests(num_tests, in_out_specs, opts, new_task); in main()
/third_party/python/Lib/asyncio/
Dbase_events.py619 new_task = not futures.isfuture(future)
621 if new_task:
630 if new_task and future.done() and not future.cancelled():