mirror of
https://github.com/django/django.git
synced 2025-11-02 04:48:33 +00:00
Fixed all E251 violations
This commit is contained in:
parent
c347f78cc1
commit
f67e18f39e
14 changed files with 37 additions and 37 deletions
|
|
@ -19,6 +19,6 @@ class PropertyTests(TestCase):
|
|||
self.assertRaises(AttributeError, setattr, self.a, 'full_name', 'Paul McCartney')
|
||||
|
||||
# But "full_name_2" has, and it can be used to initialise the class.
|
||||
a2 = Person(full_name_2 = 'Paul McCartney')
|
||||
a2 = Person(full_name_2='Paul McCartney')
|
||||
a2.save()
|
||||
self.assertEqual(a2.first_name, 'Paul')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue