(self)
| 547 | self.assertFalse(bool(bar.__code__.co_flags & inspect.CO_COROUTINE)) |
| 548 | |
| 549 | def test_func_2(self): |
| 550 | async def foo(): |
| 551 | raise StopIteration |
| 552 | |
| 553 | with self.assertRaisesRegex( |
| 554 | RuntimeError, "coroutine raised StopIteration"): |
| 555 | |
| 556 | run_async(foo()) |
| 557 | |
| 558 | def test_func_3(self): |
| 559 | async def foo(): |
nothing calls this directly
no test coverage detected