()
| 166 | raise body_error |
| 167 | |
| 168 | async def start_context() -> None: |
| 169 | tasks.put( |
| 170 | _CancellationObservedTask( |
| 171 | fail_in_context(), |
| 172 | cancellation_seen, |
| 173 | loop=asyncio.get_running_loop(), |
| 174 | ) |
| 175 | ) |
| 176 | assert await asyncio.to_thread(release_started.wait, 5) |
| 177 | |
| 178 | asyncio.run(start_context()) |
| 179 |
no test coverage detected