`test_unretrieved_future_exception_server_crash` fails with `EndOfStream`
- 主要语言
- Python
- 星标
- 2.5k
- 派生
- 260
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 17
描述
### Things to check first
- [x] I have searched the existing issues and didn't find my bug already reported there
- [x] I have checked that my bug is still present in the latest release
### AnyIO version
4.11.0
### Python version
3.9.23
### What happened?
When I run tests I do see this failure:
```
__ TestTCPStream.test_unretrieved_future_exception_server_crash[ipv4-asyncio] __
tests/test_sockets.py:639: in test_unretrieved_future_exception_server_crash
await stream.receive()
../prototype/i386/usr/lib/python3.9/vendor-packages/anyio/_backends/_asyncio.py:1276: in receive
raise EndOfStream from None
E anyio.EndOfStream
------------------------------ Captured log call -------------------------------
WARNING asyncio:base_events.py:1900 Executing wait_for=()] created at /usr/lib/python3.9/asyncio/base_events.py:429> created at /data/builds/ul-mass-rebuild/components/python/anyio/build/prototype/i386/usr/lib/python3.9/vendor-packages/anyio/_backends/_asyncio.py:2241> took 0.187 seconds
__ TestTCPStream.test_unretrieved_future_exception_server_crash[ipv6-asyncio] __
tests/test_sockets.py:639: in test_unretrieved_future_exception_server_crash
await stream.receive()
../prototype/i386/usr/lib/python3.9/vendor-packages/anyio/_backends/_asyncio.py:1276: in receive
raise EndOfStream from None
E anyio.EndOfStream
```
### How can we reproduce the bug?
Run `anyio` tests on OpenIndiana.
贡献指南
评估
这个 Issue 还没有评估数据。