agronholm / agronholm/anyio

`test_unretrieved_future_exception_server_crash` fails with `EndOfStream`

Đang mở
#986 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
2.5k
Fork
260
Merge trung bình
2 ngày 8 giờ
Pull request đã merge (30 ngày)
19

Mô tả

### 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.