mirror of
https://github.com/django/django.git
synced 2025-11-02 04:48:33 +00:00
Fixed #21268 -- Fixed E303 pep8 warnings
This commit is contained in:
parent
65d1d65d52
commit
bab9123daa
53 changed files with 2 additions and 87 deletions
|
|
@ -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')]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue