Fixed #21268 -- Fixed E303 pep8 warnings

This commit is contained in:
Alasdair Nicol 2013-10-18 00:58:02 +01:00
parent 65d1d65d52
commit bab9123daa
53 changed files with 2 additions and 87 deletions

View file

@ -48,7 +48,6 @@ class PrefetchRelatedTests(TestCase):
normal_lists = [list(b.authors.all()) for b in Book.objects.all()]
self.assertEqual(lists, normal_lists)
def test_m2m_reverse(self):
with self.assertNumQueries(2):
lists = [list(a.books.all()) for a in Author.objects.prefetch_related('books')]