summaryrefslogtreecommitdiff
path: root/tests/admin_registration
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-09-19 06:24:12 -0400
committerTim Graham <timograham@gmail.com>2013-09-19 06:24:12 -0400
commite23de9e350d716c4d9ebe0b27c9f2752fe1aa543 (patch)
tree3af4bb5eec90342bb46c8f0a97e49fbf6b7b33bc /tests/admin_registration
parent9d3e60aa3e97642d20317d6732f374ed91e7a90b (diff)
downloaddjango-e23de9e350d716c4d9ebe0b27c9f2752fe1aa543.tar.gz
Fixed typo in exception message; refs #19414
Thanks Alexey Boriskin for the report.
Diffstat (limited to 'tests/admin_registration')
-rw-r--r--tests/admin_registration/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_registration/tests.py b/tests/admin_registration/tests.py
index 994de3bdf7..e5947e0a93 100644
--- a/tests/admin_registration/tests.py
+++ b/tests/admin_registration/tests.py
@@ -115,7 +115,7 @@ class TestRegistrationDecorator(TestCase):
)
def test_wrapped_class_not_a_model_admin(self):
- self.assertRaisesMessage(ValueError, 'Wrapped class must sublcass ModelAdmin.',
+ self.assertRaisesMessage(ValueError, 'Wrapped class must subclass ModelAdmin.',
register(Person), CustomSite)
def test_custom_site_not_an_admin_site(self):