Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for filterwarnings (0.09 seconds)

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

  1. pyproject.toml

    disallow_untyped_defs = false
    disallow_untyped_calls = false
    
    [tool.pytest]
    minversion = "9.0"
    addopts = [
      "--strict-config",
      "--strict-markers",
      "--ignore=docs_src",
    ]
    strict_xfail = true
    filterwarnings = [
        "error",
    ]
    timeout = "20"
    
    [tool.coverage.run]
    parallel = true
    data_file = "coverage/.coverage"
    source = [
        "docs_src",
        "tests",
        "fastapi"
    ]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  2. tests/test_router_events.py

        router_shutdown: bool = False
        sub_router_startup: bool = False
        sub_router_shutdown: bool = False
    
    
    @pytest.fixture
    def state() -> State:
        return State()
    
    
    @pytest.mark.filterwarnings(
        r"ignore:\s*on_event is deprecated, use lifespan event handlers instead.*:DeprecationWarning"
    )
    def test_router_events(state: State) -> None:
        app = FastAPI()
    
        @app.get("/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  3. tests/test_stream_cancellation.py

    """
    
    from collections.abc import AsyncIterable
    
    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)
  4. docs/en/docs/release-notes.md

    ### Upgrades
    
    * ⬆️ Upgrade Starlette to >=0.37.2,<0.38.0, remove Starlette filterwarning for internal tests. PR [#11266](https://github.com/tiangolo/fastapi/pull/11266) by [@nothielf](https://github.com/nothielf).
    
    ### Docs
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
Back to Top