mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #21287 -- Fixed E123 pep8 warnings
This commit is contained in:
parent
65750b8352
commit
a800036981
71 changed files with 152 additions and 152 deletions
|
@ -105,7 +105,7 @@ class GenericRelationsTests(TestCase):
|
|||
('salty', Vegetable, bacon.pk),
|
||||
('shiny', Animal, platypus.pk),
|
||||
('yellow', Animal, lion.pk)
|
||||
],
|
||||
],
|
||||
comp_func
|
||||
)
|
||||
lion.delete()
|
||||
|
@ -115,7 +115,7 @@ class GenericRelationsTests(TestCase):
|
|||
('fatty', Vegetable, bacon.pk),
|
||||
('salty', Vegetable, bacon.pk),
|
||||
('shiny', Animal, platypus.pk)
|
||||
],
|
||||
],
|
||||
comp_func
|
||||
)
|
||||
|
||||
|
@ -129,7 +129,7 @@ class GenericRelationsTests(TestCase):
|
|||
('fatty', Vegetable, bacon.pk),
|
||||
('salty', Vegetable, bacon.pk),
|
||||
('shiny', Animal, platypus.pk)
|
||||
],
|
||||
],
|
||||
comp_func
|
||||
)
|
||||
# If you delete a tag, the objects using the tag are unaffected
|
||||
|
@ -142,7 +142,7 @@ class GenericRelationsTests(TestCase):
|
|||
('fatty', Animal, platypus.pk),
|
||||
('salty', Vegetable, bacon.pk),
|
||||
('shiny', Animal, platypus.pk)
|
||||
],
|
||||
],
|
||||
comp_func
|
||||
)
|
||||
TaggedItem.objects.filter(tag='fatty').delete()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue