Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_collections.py795 class CoroLike: pass class
796 Coroutine.register(CoroLike)
797 self.assertTrue(isinstance(CoroLike(), Awaitable))
798 self.assertTrue(issubclass(CoroLike, Awaitable))
799 CoroLike = None
845 class CoroLike: class
854 self.assertTrue(isinstance(CoroLike(), Coroutine))
855 self.assertTrue(issubclass(CoroLike, Coroutine))
857 class CoroLike: class
864 self.assertFalse(isinstance(CoroLike(), Coroutine))
[all …]
Dtest_types.py1420 class CoroLike: class
1426 coro = CoroLike()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py63 class CoroLike: class
2260 coro = CoroLike()
2275 coro = CoroLike()
2281 coro = CoroLike()