summaryrefslogtreecommitdiff
path: root/tests/field_subclassing/tests.py
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2014-03-02 15:25:53 +0100
committerTim Graham <timograham@gmail.com>2014-03-03 07:38:09 -0500
commit0d912258921a442c48d5787228db2db5af7e8fa5 (patch)
treef6826425de5bca2498c46e5242b870282a34eda2 /tests/field_subclassing/tests.py
parent6acaa5238668593d6d854b28dbfa65e95796585c (diff)
Fixed many typos in comments and docstrings.
Thanks Piotr Kasprzyk for help with the patch.
Diffstat (limited to 'tests/field_subclassing/tests.py')
-rw-r--r--tests/field_subclassing/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/field_subclassing/tests.py b/tests/field_subclassing/tests.py
index 3045f7d226..6a3d1cad20 100644
--- a/tests/field_subclassing/tests.py
+++ b/tests/field_subclassing/tests.py
@@ -39,7 +39,7 @@ class CustomField(TestCase):
# Custom fields still have normal field's attributes.
self.assertEqual(m._meta.get_field("data").verbose_name, "small field")
- # The m.data attribute has been initialised correctly. It's a Small
+ # The m.data attribute has been initialized correctly. It's a Small
# object.
self.assertEqual((m.data.first, m.data.second), (1, 2))
@@ -100,7 +100,7 @@ class CustomField(TestCase):
http://users.rcn.com/python/download/Descriptor.htm#properties
"""
# Even when looking for totally different properties, SubfieldBase's
- # non property like behaviour made inspect crash. Refs #12568.
+ # non property like behavior made inspect crash. Refs #12568.
data = dict(inspect.getmembers(MyModel))
self.assertIn('__module__', data)
self.assertEqual(data['__module__'], 'field_subclassing.models')