mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
This commit is contained in:
@@ -70,9 +70,7 @@ class PrefetchRelatedObjectsTests(TestCase):
|
||||
[list(book.first_time_authors.all()) for book in books]
|
||||
|
||||
def test_m2m_then_m2m(self):
|
||||
"""
|
||||
We can follow a m2m and another m2m.
|
||||
"""
|
||||
"""A m2m can be followed through another m2m."""
|
||||
authors = list(Author.objects.all())
|
||||
with self.assertNumQueries(2):
|
||||
prefetch_related_objects(authors, 'books__read_by')
|
||||
|
||||
Reference in New Issue
Block a user