mirror of
https://github.com/django/django.git
synced 2026-02-09 02:49:25 +08:00
Applied Black's 2025 stable style.
https://github.com/psf/black/releases/tag/25.1.0
This commit is contained in:
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user