From f73b3fbb0cb89e6cb3d0651f977326d17966a932 Mon Sep 17 00:00:00 2001 From: Pk Patel <46714886+The5cheduler@users.noreply.github.com> Date: Tue, 23 Sep 2025 21:35:53 -0400 Subject: [PATCH] Fixed the failing linting checks --- tests/forms_tests/tests/test_forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/forms_tests/tests/test_forms.py b/tests/forms_tests/tests/test_forms.py index 40f9aa05dc..6ccf043dd1 100644 --- a/tests/forms_tests/tests/test_forms.py +++ b/tests/forms_tests/tests/test_forms.py @@ -1714,10 +1714,10 @@ aria-describedby="id_birthday_error"> class FooForm(Form): the_field = CharField(max_length=100) - exc = ValidationError({"the_field": "Something is wrong with the field."}) + exc = ValidationError({"the_field": "This field has an error."}) form = FooForm() form.add_error("the_field", exc) - self.assertEqual(form.errors, {"the_field": ["Something is wrong with the field."]}) + self.assertEqual(form.errors, {"the_field": ["This field has an error."]}) def test_add_error_validation_error_dict_multiple_fields(self): class FooForm(Form):