(self)
| 1042 | self.assertEqual(run_async(foo()), ([42], 100)) |
| 1043 | |
| 1044 | def test_await_8(self): |
| 1045 | class Awaitable: |
| 1046 | pass |
| 1047 | |
| 1048 | async def foo(): return await Awaitable() |
| 1049 | |
| 1050 | with self.assertRaisesRegex( |
| 1051 | TypeError, "'Awaitable' object can't be awaited"): |
| 1052 | |
| 1053 | run_async(foo()) |
| 1054 | |
| 1055 | def test_await_9(self): |
| 1056 | def wrap(): |
nothing calls this directly
no test coverage detected