jaraco/inflect

inflect/__init__.py::inflect.engine.compare test fails with pydantic-core >= 2.12

jhatler opened this issue · 1 comments

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.

...at least 1 characters...

Thanks for the report and the pull request. I addressed the issue in 5ef0bab.