Skip to content

refactor(tests): update deprecated pydantic.error_wrappers import - #2146

Closed
amargurung1013 wants to merge 1 commit into
fastapi:mainfrom
amargurung1013:fix-pydantic-validationerror-import
Closed

amargurung1013 wants to merge 1 commit into
fastapi:mainfrom
amargurung1013:fix-pydantic-validationerror-import

Conversation

@amargurung1013

Copy link
Copy Markdown

Summary

Updates the deprecated pydantic.error_wrappers.ValidationError import in tests/test_validation.py to pydantic.ValidationError.

Motivation

Resolves the PydanticDeprecatedSince20 warning emitted during test runs under Pydantic v2.

@YuriiMotov

YuriiMotov commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Thanks, this is already covered by #1600 waiting for the final review by Sebastian.

Also, please follow the rules of the repository.

We ask people to only open PRs when it's explicitly requested by maintainers.
See https://tiangolo.com/open-source/contributing/ and PR description template:

Please start with a GitHub Discussion.

Once a team member asks you to open a PR, create it and link the discussion here.

@YuriiMotov YuriiMotov closed this Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants