Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestion from @YuriiMotov
Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com>
  • Loading branch information
ravishan16 and YuriiMotov authored Sep 30, 2025
commit 66671099e762db0972814030d246d6d13695c7f2
5 changes: 1 addition & 4 deletions tests/test_aliases.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,7 @@ class SQLModelUserV2(SQLModel):
SQLModelUserV2 = None


@pytest.mark.skipif(
not VERSION.startswith("2."),
reason="validation_alias and serialization_alias are not supported in Pydantic v1",
)
@needs_pydanticv2
@pytest.mark.parametrize("model", [PydanticUserV2, SQLModelUserV2])
def test_create_with_validation_alias(
model: Union[Type[PydanticUserV2], Type[SQLModelUserV2]],
Expand Down
Loading