From 69a93a88edb56ba47f624dac7a21aacc47ea474f Mon Sep 17 00:00:00 2001 From: django-bot Date: Tue, 22 Jul 2025 20:41:41 -0700 Subject: 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. --- tests/admin_utils/test_logentry.py | 3 ++- tests/admin_utils/tests.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/admin_utils') diff --git a/tests/admin_utils/test_logentry.py b/tests/admin_utils/test_logentry.py index a800de0fad..37d13d24bd 100644 --- a/tests/admin_utils/test_logentry.py +++ b/tests/admin_utils/test_logentry.py @@ -114,7 +114,8 @@ class LogEntryTests(TestCase): def test_logentry_change_message_localized_datetime_input(self): """ - Localized date/time inputs shouldn't affect changed form data detection. + Localized date/time inputs shouldn't affect changed form data + detection. """ post_data = { "site": self.site.pk, diff --git a/tests/admin_utils/tests.py b/tests/admin_utils/tests.py index 6d165637e7..c90836c6d8 100644 --- a/tests/admin_utils/tests.py +++ b/tests/admin_utils/tests.py @@ -329,7 +329,8 @@ class UtilsTests(SimpleTestCase): self.assertEqual(label_for_field(lambda x: "nothing", Article), "--") self.assertEqual(label_for_field("site_id", Article), "Site id") - # The correct name and attr are returned when `__` is in the field name. + # The correct name and attr are returned when `__` is in the field + # name. self.assertEqual(label_for_field("site__domain", Article), "Site domain") self.assertEqual( label_for_field("site__domain", Article, return_attr=True), -- cgit v1.3