Skip to content

Commit 7c8a330

Browse files
committed
Fix ValidationError import deprecation warning
1 parent 7ab0d2a commit 7c8a330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from typing import Optional
22

33
import pytest
4-
from pydantic.error_wrappers import ValidationError
4+
from pydantic import ValidationError
55
from sqlmodel import SQLModel
66

77
from .conftest import needs_pydanticv1, needs_pydanticv2

0 commit comments

Comments
 (0)