summaryrefslogtreecommitdiff
path: root/tests/contenttypes_tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-02-02 20:43:21 -0500
committerTim Graham <timograham@gmail.com>2017-02-03 08:01:45 -0500
commit29f607927fe82e2c8baab171dfa8baf710cd9b83 (patch)
treef525c6c4784ccafe77e01f706093fa6f4a5c9481 /tests/contenttypes_tests
parenta21ec12409a5b72d602cd03ee925b6ceb1cd5492 (diff)
downloaddjango-29f607927fe82e2c8baab171dfa8baf710cd9b83.tar.gz
Fixed spelling of "nonexistent".
Diffstat (limited to 'tests/contenttypes_tests')
-rw-r--r--tests/contenttypes_tests/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/contenttypes_tests/tests.py b/tests/contenttypes_tests/tests.py
index 794b1e34ef..14e14e0913 100644
--- a/tests/contenttypes_tests/tests.py
+++ b/tests/contenttypes_tests/tests.py
@@ -154,7 +154,7 @@ class GenericForeignKeyTests(SimpleTestCase):
errors = TaggedItem.content_object.check()
expected = [
checks.Error(
- "The GenericForeignKey content type references the non-existent field 'TaggedItem.content_type'.",
+ "The GenericForeignKey content type references the nonexistent field 'TaggedItem.content_type'.",
obj=TaggedItem.content_object,
id='contenttypes.E002',
)
@@ -212,7 +212,7 @@ class GenericForeignKeyTests(SimpleTestCase):
errors = TaggedItem.content_object.check()
expected = [
checks.Error(
- "The GenericForeignKey object ID references the non-existent field 'object_id'.",
+ "The GenericForeignKey object ID references the nonexistent field 'object_id'.",
obj=TaggedItem.content_object,
id='contenttypes.E001',
)