Home
last modified time | relevance | path

Searched refs:CoroLike (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_collections.py645 class CoroLike: pass class
646 Coroutine.register(CoroLike)
647 self.assertTrue(isinstance(CoroLike(), Awaitable))
648 self.assertTrue(issubclass(CoroLike, Awaitable))
649 CoroLike = None
695 class CoroLike: class
704 self.assertTrue(isinstance(CoroLike(), Coroutine))
705 self.assertTrue(issubclass(CoroLike, Coroutine))
707 class CoroLike: class
714 self.assertFalse(isinstance(CoroLike(), Coroutine))
[all …]
Dtest_types.py1391 class CoroLike: class
1397 coro = CoroLike()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py60 class CoroLike: class
2821 coro = CoroLike()
2836 coro = CoroLike()
2842 coro = CoroLike()