mirror of
https://github.com/django/django.git
synced 2025-08-10 05:48:15 +00:00
[1.8.x] Fixed typos in code comments.
Backport of 039465a6a7
from master
This commit is contained in:
parent
90d9bf5ba4
commit
45aaced91e
26 changed files with 28 additions and 28 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue