Skip to content

Commit 0f4b0a6

Browse files
committed
remove @needs_pydanticv2 (unnecessary since fastapi#1701)
1 parent cd39973 commit 0f4b0a6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/test_main.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
from sqlmodel import Field, Relationship, Session, SQLModel, create_engine, select
99
from typing_extensions import Annotated
1010

11-
from .conftest import needs_pydanticv2
12-
1311

1412
def test_should_allow_duplicate_row_if_unique_constraint_is_not_passed(clear_sqlmodel):
1513
class Hero(SQLModel, table=True):
@@ -162,7 +160,6 @@ class UserPermission(SQLModel, table=True):
162160
session.commit()
163161

164162

165-
@needs_pydanticv2
166163
def test_composite_primary_key_and_validator(clear_sqlmodel):
167164
from pydantic import AfterValidator
168165

0 commit comments

Comments
 (0)