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 | |
| 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')
| -rw-r--r-- | tests/null_fk/tests.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/null_fk/tests.py b/tests/null_fk/tests.py index 9bf5f93f6c..ac7f7a8289 100644 --- a/tests/null_fk/tests.py +++ b/tests/null_fk/tests.py @@ -13,10 +13,10 @@ class NullFkTests(TestCase): c1 = Comment.objects.create(post=p, comment_text="My first comment") c2 = Comment.objects.create(comment_text="My second comment") - # Starting from comment, make sure that a .select_related(...) with a specified - # set of fields will properly LEFT JOIN multiple levels of NULLs (and the things - # that come after the NULLs, or else data that should exist won't). Regression - # test for #7369. + # Starting from comment, make sure that a .select_related(...) with a + # specified set of fields will properly LEFT JOIN multiple levels of + # NULLs (and the things that come after the NULLs, or else data that + # should exist won't). Regression test for #7369. c = Comment.objects.select_related().get(id=c1.id) self.assertEqual(c.post, p) self.assertIsNone(Comment.objects.select_related().get(id=c2.id).post) |
