You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On pydantic-code >= 2.12, the validation error messages use the singular
of the word "character" when the number 1 is specified in a condition.
This breaks the engine.compare validation, which expected the plural.
Refs: jaraco#204
Signed-off-by: Jaremy Hatler <[email protected]>
The below PR on pydantic-core introduced a change to the validation error messages which breaks the inflect/init.py::inflect.engine.compare test.
pydantic/pydantic-core#1050
The test breaks because the error message defined at the below line is plural when the number "1" is used, which is grammatically incorrect.
inflect/inflect/__init__.py
Line 2469 in eff29a4
The text was updated successfully, but these errors were encountered: