Things to check first
AnyIO version
a8900c2
Python version
py 3.14
What happened?
async def test_aclose_in_cancelled_scope_raises_cancelled_exc(
self, server_sock: socket.socket, socket_path: Path
) -> None:
exc = None
stream = await connect_unix(socket_path)
with CancelScope() as scope:
scope.cancel()
try:
await stream.aclose()
except get_cancelled_exc_class() as e:
exc = e
raise
assert exc is not None
failed
How can we reproduce the bug?
see above
Things to check first
I have searched the existing issues and didn't find my bug already reported there
I have checked that my bug is still present in the latest release
AnyIO version
a8900c2
Python version
py 3.14
What happened?
failed
How can we reproduce the bug?
see above