mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
Fixed #25331 -- Removed trailing blank lines in docstrings.
This commit is contained in:
parent
d4b10a7256
commit
5153a3bfdc
60 changed files with 5 additions and 123 deletions
|
|
@ -2692,7 +2692,6 @@ class ExcludeTest17600(TestCase):
|
|||
def test_exclude_plain(self):
|
||||
"""
|
||||
This should exclude Orders which have some items with status 1
|
||||
|
||||
"""
|
||||
self.assertQuerysetEqual(
|
||||
Order.objects.exclude(items__status=1),
|
||||
|
|
@ -2701,7 +2700,6 @@ class ExcludeTest17600(TestCase):
|
|||
def test_exclude_plain_distinct(self):
|
||||
"""
|
||||
This should exclude Orders which have some items with status 1
|
||||
|
||||
"""
|
||||
self.assertQuerysetEqual(
|
||||
Order.objects.exclude(items__status=1).distinct(),
|
||||
|
|
@ -2710,7 +2708,6 @@ class ExcludeTest17600(TestCase):
|
|||
def test_exclude_with_q_object_distinct(self):
|
||||
"""
|
||||
This should exclude Orders which have some items with status 1
|
||||
|
||||
"""
|
||||
self.assertQuerysetEqual(
|
||||
Order.objects.exclude(Q(items__status=1)).distinct(),
|
||||
|
|
@ -2719,7 +2716,6 @@ class ExcludeTest17600(TestCase):
|
|||
def test_exclude_with_q_object_no_distinct(self):
|
||||
"""
|
||||
This should exclude Orders which have some items with status 1
|
||||
|
||||
"""
|
||||
self.assertQuerysetEqual(
|
||||
Order.objects.exclude(Q(items__status=1)),
|
||||
|
|
@ -2729,7 +2725,6 @@ class ExcludeTest17600(TestCase):
|
|||
"""
|
||||
Using exclude(condition) and exclude(Q(condition)) should
|
||||
yield the same QuerySet
|
||||
|
||||
"""
|
||||
self.assertEqual(
|
||||
list(Order.objects.exclude(items__status=1).distinct()),
|
||||
|
|
@ -2739,7 +2734,6 @@ class ExcludeTest17600(TestCase):
|
|||
"""
|
||||
Using exclude(condition) and exclude(Q(condition)) should
|
||||
yield the same QuerySet
|
||||
|
||||
"""
|
||||
self.assertEqual(
|
||||
list(Order.objects.exclude(items__status=1)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue