Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for PytestUnraisableExceptionWarning (0.32 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_stream_cancellation.py

    import anyio
    import pytest
    from fastapi import FastAPI
    from fastapi.responses import StreamingResponse
    
    pytestmark = [
        pytest.mark.anyio,
        pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning"),
    ]
    
    
    app = FastAPI()
    
    
    @app.get("/stream-raw", response_class=StreamingResponse)
    async def stream_raw() -> AsyncIterable[str]:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.7K bytes
    - Click Count (0)
Back to Top