(self)
| 249 | ai.__anext__().__next__() |
| 250 | |
| 251 | def test_async_gen_exception_05(self): |
| 252 | async def gen(): |
| 253 | yield 123 |
| 254 | raise StopAsyncIteration |
| 255 | |
| 256 | with self.assertRaisesRegex(RuntimeError, |
| 257 | 'async generator.*StopAsyncIteration'): |
| 258 | to_list(gen()) |
| 259 | |
| 260 | def test_async_gen_exception_06(self): |
| 261 | async def gen(): |
nothing calls this directly
no test coverage detected