summaryrefslogtreecommitdiff
path: root/tests/forms_tests/widget_tests/base.py
diff options
context:
space:
mode:
authordjango-bot <ops@djangoproject.com>2025-07-22 20:41:41 -0700
committernessita <124304+nessita@users.noreply.github.com>2025-07-23 20:17:55 -0300
commit69a93a88edb56ba47f624dac7a21aacc47ea474f (patch)
treef57507a4435d032493cae40e06ecb254790b67b2 /tests/forms_tests/widget_tests/base.py
parent55b0cc21310b76ce4018dd793ba50556eaf0af06 (diff)
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
Diffstat (limited to 'tests/forms_tests/widget_tests/base.py')
-rw-r--r--tests/forms_tests/widget_tests/base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/forms_tests/widget_tests/base.py b/tests/forms_tests/widget_tests/base.py
index c29099abf2..e30b2237c6 100644
--- a/tests/forms_tests/widget_tests/base.py
+++ b/tests/forms_tests/widget_tests/base.py
@@ -29,7 +29,8 @@ class WidgetTest(SimpleTestCase):
)
# Django escapes quotes with '&quot;' while Jinja2 uses '&#34;'.
output = output.replace("&#34;", "&quot;")
- # Django escapes single quotes with '&#x27;' while Jinja2 uses '&#39;'.
+ # Django escapes single quotes with '&#x27;' while Jinja2 uses
+ # '&#39;'.
output = output.replace("&#39;", "&#x27;")
assertEqual(output, html)