summaryrefslogtreecommitdiff
path: root/tests/forms_tests
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2025-03-01 19:41:37 +0100
committerGitHub <noreply@github.com>2025-03-01 19:41:37 +0100
commitff3aaf036f0cb66cd8f404cd51c603e68aaa7676 (patch)
treea8381709777a84aad1c3c679dc5807bab6f486db /tests/forms_tests
parentea1e3703bee28bfbe4f32ceb39ad31763353b143 (diff)
Applied Black's 2025 stable style.
https://github.com/psf/black/releases/tag/25.1.0
Diffstat (limited to 'tests/forms_tests')
-rw-r--r--tests/forms_tests/tests/test_utils.py4
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.",