mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fix all violators of E231
This commit is contained in:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user