mirror of
https://github.com/django/django.git
synced 2025-08-02 10:02:41 +00:00
PEP8 cleanup
Signed-off-by: Jason Myers <jason@jasonamyers.com>
This commit is contained in:
parent
0fdb692c6c
commit
7a61c68c50
128 changed files with 739 additions and 206 deletions
|
@ -146,7 +146,7 @@ class LargeDeleteTests(TestCase):
|
|||
def test_large_deletes(self):
|
||||
"Regression for #13309 -- if the number of objects > chunk size, deletion still occurs"
|
||||
for x in range(300):
|
||||
Book.objects.create(pagecount=x+100)
|
||||
Book.objects.create(pagecount=x + 100)
|
||||
# attach a signal to make sure we will not fast-delete
|
||||
|
||||
def noop(*args, **kwargs):
|
||||
|
@ -268,6 +268,7 @@ class ProxyDeleteTest(TestCase):
|
|||
with self.assertRaises(TypeError):
|
||||
Image.objects.values_list().delete()
|
||||
|
||||
|
||||
class Ticket19102Tests(TestCase):
|
||||
"""
|
||||
Test different queries which alter the SELECT clause of the query. We
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue