From b289fcf1bfeaa717ed465b2529a275b61dc02d92 Mon Sep 17 00:00:00 2001 From: Alasdair Nicol Date: Sun, 20 Oct 2013 00:33:10 +0100 Subject: Fixed #21288 -- Fixed E126 pep8 warnings --- tests/distinct_on_fields/tests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/distinct_on_fields') 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): ['', '', '', ''], ), ( - 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'), ['', ''], ), # Does combining querysets work? -- cgit v1.3