summaryrefslogtreecommitdiff
path: root/tests/model_inheritance_regress
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-04-26 10:18:45 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-04-26 10:18:45 -0700
commit2bcb8bfc8de5cd57ebb64b326cd7609aa0d8c1c7 (patch)
tree6c0dc4b5f0d4dbcae6c181efc2b346799ac5caf3 /tests/model_inheritance_regress
parent8b5b199e20ad2d8d3e91873ce0cd5d3035e05ece (diff)
downloaddjango-2bcb8bfc8de5cd57ebb64b326cd7609aa0d8c1c7.tar.gz
Fix many many typos in comments throughout the codebase
Diffstat (limited to 'tests/model_inheritance_regress')
-rw-r--r--tests/model_inheritance_regress/tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/model_inheritance_regress/tests.py b/tests/model_inheritance_regress/tests.py
index 5297898e2f..745a63f7e6 100644
--- a/tests/model_inheritance_regress/tests.py
+++ b/tests/model_inheritance_regress/tests.py
@@ -258,7 +258,7 @@ class ModelInheritanceTest(TestCase):
self.assertEqual(m2mchildren, [])
# Ordering should not include any database column more than once (this
- # is most likely to ocurr naturally with model inheritance, so we
+ # is most likely to occur naturally with model inheritance, so we
# check it here). Regression test for #9390. This necessarily pokes at
# the SQL string for the query, since the duplicate problems are only
# apparent at that late stage.
@@ -363,10 +363,10 @@ class ModelInheritanceTest(TestCase):
self.assertEqual(parties, [bachelor])
# Check that a subclass of a subclass of an abstract model doesn't get
- # it's own accessor.
+ # its own accessor.
self.assertFalse(hasattr(p2, 'messybachelorparty_set'))
- # ... but it does inherit the m2m from it's parent
+ # ... but it does inherit the m2m from its parent
messy = MessyBachelorParty.objects.create(
name='Bachelor party for Dave')
messy.attendees = [p4]