Skip to content

Commit

Permalink
Fix the way Pydantic version is evaluated
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsil committed Nov 25, 2024
1 parent fa5dbbe commit e51ad9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/routing/test_syntax_enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from esmerald import Gateway, JSONResponse, get
from esmerald.testclient import create_client

pydantic_version = __version__[:3]
pydantic_version = ".".join(__version__.split(".")[:2])


class ItemType(str, Enum):
Expand Down

0 comments on commit e51ad9f

Please sign in to comment.