diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-03-01 19:41:37 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-03-01 19:47:17 +0100 |
| commit | 53bb1d5a240a39d35abc11c6477ac5465c5fac2c (patch) | |
| tree | ca10c5869c7bcbcb219eadb0c93ba297d9bbd4b4 /tests/forms_tests | |
| parent | b8ceda4a518de960c2cf2b4b1ff70cbd10c0ecda (diff) | |
[5.2.x] Applied Black's 2025 stable style.
https://github.com/psf/black/releases/tag/25.1.0
Backport of ff3aaf036f0cb66cd8f404cd51c603e68aaa7676 from main
Diffstat (limited to 'tests/forms_tests')
| -rw-r--r-- | tests/forms_tests/tests/test_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/forms_tests/tests/test_utils.py b/tests/forms_tests/tests/test_utils.py index a50f86c934..b8fbadc2b8 100644 --- a/tests/forms_tests/tests/test_utils.py +++ b/tests/forms_tests/tests/test_utils.py @@ -73,7 +73,7 @@ class FormsUtilsTestCase(SimpleTestCase): ) # Can take a Unicode string. self.assertHTMLEqual( - str(ErrorList(ValidationError("Not \u03C0.").messages)), + str(ErrorList(ValidationError("Not \u03c0.").messages)), '<ul class="errorlist"><li>Not π.</li></ul>', ) # Can take a lazy string. @@ -107,7 +107,7 @@ class FormsUtilsTestCase(SimpleTestCase): ValidationError( [ "1. First error.", - "2. Not \u03C0.", + "2. Not \u03c0.", gettext_lazy("3. Error."), { "error_1": "4. First dict error.", |
