mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +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
|
@ -128,7 +128,7 @@ class UpdateOnlyFieldsTests(TestCase):
|
|||
a1 = Account.objects.create(num=1)
|
||||
a2 = Account.objects.create(num=2)
|
||||
|
||||
e1.accounts = [a1,a2]
|
||||
e1.accounts = [a1, a2]
|
||||
|
||||
with self.assertRaises(ValueError):
|
||||
e1.save(update_fields=['accounts'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue