diff options
| author | Alasdair Nicol <alasdair@thenicols.net> | 2013-10-20 00:33:10 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-21 08:31:30 -0400 |
| commit | b289fcf1bfeaa717ed465b2529a275b61dc02d92 (patch) | |
| tree | 1b43958bb74005ccb93f3cd12ce4bc13d9747ab2 /tests/distinct_on_fields | |
| parent | a3690168cbde5e7bee16443569ad3dedd2466af7 (diff) | |
Fixed #21288 -- Fixed E126 pep8 warnings
Diffstat (limited to 'tests/distinct_on_fields')
| -rw-r--r-- | tests/distinct_on_fields/tests.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/distinct_on_fields/tests.py b/tests/distinct_on_fields/tests.py index 5ce3ee4faf..cb88f60321 100644 --- a/tests/distinct_on_fields/tests.py +++ b/tests/distinct_on_fields/tests.py @@ -51,8 +51,7 @@ class DistinctOnTests(TestCase): ['<Staff: p1>', '<Staff: p1>', '<Staff: p2>', '<Staff: p3>'], ), ( - Celebrity.objects.filter(fan__in=[self.fan1, self.fan2, self.fan3]). - distinct('name').order_by('name'), + Celebrity.objects.filter(fan__in=[self.fan1, self.fan2, self.fan3]).distinct('name').order_by('name'), ['<Celebrity: c1>', '<Celebrity: c2>'], ), # Does combining querysets work? |
