We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74793e8 commit e4d00baCopy full SHA for e4d00ba
tests/test_semaphore.py
@@ -34,5 +34,5 @@ async def c3() -> None:
34
sem.release()
35
t2.cancel()
36
37
- async with anyio.maybe_async_cm(anyio.move_on_after(1)):
+ with anyio.fail_after(1):
38
await asyncio.gather(t1, t2, t3, return_exceptions=True)
0 commit comments