mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed all E251 violations
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user