mirror of
https://github.com/django/django.git
synced 2025-11-01 04:17:59 +00:00
Fix all violators of E231
This commit is contained in:
parent
f2d8027c9a
commit
9d740eb8b1
74 changed files with 628 additions and 629 deletions
|
|
@ -251,7 +251,7 @@ class ManyToManySignalsTest(TestCase):
|
|||
self.assertEqual(self.m2m_changed_messages, expected_messages)
|
||||
|
||||
# direct assignment clears the set first, then adds
|
||||
self.vw.default_parts = [self.wheelset,self.doors,self.engine]
|
||||
self.vw.default_parts = [self.wheelset, self.doors, self.engine]
|
||||
expected_messages.append({
|
||||
'instance': self.vw,
|
||||
'action': 'pre_clear',
|
||||
|
|
@ -397,7 +397,7 @@ class ManyToManySignalsTest(TestCase):
|
|||
})
|
||||
self.assertEqual(self.m2m_changed_messages, expected_messages)
|
||||
|
||||
self.chuck.idols = [self.alice,self.bob]
|
||||
self.chuck.idols = [self.alice, self.bob]
|
||||
expected_messages.append({
|
||||
'instance': self.chuck,
|
||||
'action': 'pre_clear',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue