mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Fixed the use of the -ise suffix, where -ize is prefered
This commit is contained in:
@@ -18,7 +18,7 @@ class PropertyTests(TestCase):
|
||||
# The "full_name" property hasn't provided a "set" method.
|
||||
self.assertRaises(AttributeError, setattr, self.a, 'full_name', 'Paul McCartney')
|
||||
|
||||
# But "full_name_2" has, and it can be used to initialise the class.
|
||||
# But "full_name_2" has, and it can be used to initialize the class.
|
||||
a2 = Person(full_name_2='Paul McCartney')
|
||||
a2.save()
|
||||
self.assertEqual(a2.first_name, 'Paul')
|
||||
|
||||
Reference in New Issue
Block a user