summaryrefslogtreecommitdiff
path: root/tests/model_meta
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/model_meta
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/model_meta')
-rw-r--r--tests/model_meta/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/model_meta/tests.py b/tests/model_meta/tests.py
index 93883b5cf1..98dd132323 100644
--- a/tests/model_meta/tests.py
+++ b/tests/model_meta/tests.py
@@ -51,8 +51,8 @@ class GetFieldsTests(OptionsBaseTests):
def test_get_fields_is_immutable(self):
msg = IMMUTABLE_WARNING % "get_fields()"
for _ in range(2):
- # Running unit test twice to ensure both non-cached and cached result
- # are immutable.
+ # Running unit test twice to ensure both non-cached and cached
+ # result are immutable.
fields = Person._meta.get_fields()
with self.assertRaisesMessage(AttributeError, msg):
fields += ["errors"]