Lines Matching refs:Awaitable
21 from collections.abc import Awaitable, Coroutine
793 self.assertNotIsInstance(x, Awaitable)
794 self.assertFalse(issubclass(type(x), Awaitable), repr(type(x)))
798 self.assertIsInstance(x, Awaitable)
799 self.assertTrue(issubclass(type(x), Awaitable))
805 self.assertNotIsInstance(c, Awaitable)
808 self.assertIsInstance(c, Awaitable)
813 self.assertTrue(isinstance(CoroLike(), Awaitable))
814 self.assertTrue(issubclass(CoroLike, Awaitable))
848 self.assertIsInstance(x, Awaitable)
849 self.assertTrue(issubclass(type(x), Awaitable))