1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

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.
This commit is contained in:
django-bot
2025-07-22 20:41:41 -07:00
committed by nessita
parent 55b0cc2131
commit 69a93a88ed
378 changed files with 2781 additions and 1861 deletions

View File

@@ -20,9 +20,9 @@ class NullFkOrderingTests(TestCase):
author=author_2, title="This article written by Bob Smith"
)
# We can't compare results directly (since different databases sort NULLs to
# different ends of the ordering), but we can check that all results are
# returned.
# We can't compare results directly (since different databases sort
# NULLs to different ends of the ordering), but we can check that all
# results are returned.
self.assertEqual(len(list(Article.objects.all())), 3)
s = SystemInfo.objects.create(system_name="System Info")
@@ -36,8 +36,8 @@ class NullFkOrderingTests(TestCase):
Comment.objects.create(comment_text="Another first comment")
Comment.objects.create(post=p2, comment_text="Another second comment")
# We have to test this carefully. Some databases sort NULL values before
# everything else, some sort them afterward. So we extract the ordered list
# and check the length. Before the fix, this list was too short (some values
# were omitted).
# We have to test this carefully. Some databases sort NULL values
# before everything else, some sort them afterward. So we extract the
# ordered list and check the length. Before the fix, this list was too
# short (some values were omitted).
self.assertEqual(len(list(Comment.objects.all())), 4)