summaryrefslogtreecommitdiff
path: root/tests/generic_relations
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/generic_relations
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/generic_relations')
-rw-r--r--tests/generic_relations/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/generic_relations/tests.py b/tests/generic_relations/tests.py
index e0c6fe2db7..1b53dbd8f4 100644
--- a/tests/generic_relations/tests.py
+++ b/tests/generic_relations/tests.py
@@ -197,10 +197,10 @@ class GenericRelationsTests(TestCase):
"""
Test lookups over an object without GenericRelations.
"""
- # Recall that the Mineral class doesn't have an explicit GenericRelation
- # defined. That's OK, because you can create TaggedItems explicitly.
- # However, excluding GenericRelations means your lookups have to be a
- # bit more explicit.
+ # Recall that the Mineral class doesn't have an explicit
+ # GenericRelation defined. That's OK, because you can create
+ # TaggedItems explicitly. However, excluding GenericRelations means
+ # your lookups have to be a bit more explicit.
shiny = TaggedItem.objects.create(content_object=self.quartz, tag="shiny")
clearish = TaggedItem.objects.create(content_object=self.quartz, tag="clearish")