From 40fdef60dced0fb2464e37438b28af35933b0a78 Mon Sep 17 00:00:00 2001 From: svlandeg Date: Mon, 23 Mar 2026 13:55:37 +0100 Subject: [PATCH] remove pragma no cover as the test suite now runs on Pydantic 2.9.0 --- fastapi/_compat/v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi/_compat/v2.py b/fastapi/_compat/v2.py index a980f55879..3b64fba76c 100644 --- a/fastapi/_compat/v2.py +++ b/fastapi/_compat/v2.py @@ -51,7 +51,7 @@ def evaluate_forwardref( return try_eval_type(value, globalns, localns)[0] return _pydantic_typing_extra.eval_type_lenient( # ty: ignore[deprecated] value, globalns, localns - ) # pragma: no cover + ) class GenerateJsonSchema(_GenerateJsonSchema):