diff options
Diffstat (limited to 'tests/inspectdb/tests.py')
| -rw-r--r-- | tests/inspectdb/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/inspectdb/tests.py b/tests/inspectdb/tests.py index e994b2cb74..9ab8b01122 100644 --- a/tests/inspectdb/tests.py +++ b/tests/inspectdb/tests.py @@ -138,7 +138,7 @@ class InspectDBTestCase(TestCase): out = StringIO() call_command('inspectdb', table_name_filter=inspectdb_tables_only, stdout=out) output = out.getvalue() - error_message = "inspectdb generated an attribute name which is a python keyword" + error_message = "inspectdb generated an attribute name which is a Python keyword" # Recursive foreign keys should be set to 'self' self.assertIn("parent = models.ForeignKey('self', models.DO_NOTHING)", output) self.assertNotIn( |
