agronholm / agronholm/anyio

`test_unretrieved_future_exception_server_crash` fails with `EndOfStream`

オープン
#986 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
2.5k
フォーク
260
平均マージ
2日 8時間
マージ済み PR(30日)
19

説明

### 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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。