mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed typos in code comments.
This commit is contained in:
@@ -324,7 +324,7 @@ class DeletionTests(TestCase):
|
||||
# One query for Avatar.objects.all() and then one related fast delete for
|
||||
# each batch.
|
||||
fetches_to_mem = 1 + batches
|
||||
# The Avatar objecs are going to be deleted in batches of GET_ITERATOR_CHUNK_SIZE
|
||||
# The Avatar objects are going to be deleted in batches of GET_ITERATOR_CHUNK_SIZE
|
||||
queries = fetches_to_mem + TEST_SIZE // GET_ITERATOR_CHUNK_SIZE
|
||||
self.assertNumQueries(queries, Avatar.objects.all().delete)
|
||||
self.assertFalse(Avatar.objects.exists())
|
||||
|
||||
Reference in New Issue
Block a user