diff options
| author | django-bot <ops@djangoproject.com> | 2025-07-22 20:41:41 -0700 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-07-23 20:17:55 -0300 |
| commit | 69a93a88edb56ba47f624dac7a21aacc47ea474f (patch) | |
| tree | f57507a4435d032493cae40e06ecb254790b67b2 /tests/null_fk_ordering | |
| parent | 55b0cc21310b76ce4018dd793ba50556eaf0af06 (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/null_fk_ordering')
| -rw-r--r-- | tests/null_fk_ordering/tests.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/null_fk_ordering/tests.py b/tests/null_fk_ordering/tests.py index 506c8b4086..bf4c218a8c 100644 --- a/tests/null_fk_ordering/tests.py +++ b/tests/null_fk_ordering/tests.py @@ -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) |
