agronholm / agronholm/anyio

`test_unretrieved_future_exception_server_crash` fails with `EndOfStream`

Abierto
#986 7 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
2.5k
Forks
260
Merge medio
2 d 8 h
PR fusionados (30 d)
19

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.