Browse Source

remove pragma no cover as the test suite now runs on Pydantic 2.9.0

pull/15101/head
svlandeg 4 months ago
parent
commit
40fdef60dc
  1. 2
      fastapi/_compat/v2.py

2
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):

Loading…
Cancel
Save