summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-10-09 06:26:07 -0700
committerTim Graham <timograham@gmail.com>2018-10-09 09:26:07 -0400
commite90af8bad44341cf8ebd469dac57b61a95667c1d (patch)
tree3e38bb6f48d9156a8747f75a33a662d754469817 /tests
parent31c03486871f654e576326481a13c78206b11251 (diff)
Capitalized "Python" in docs and comments.
Diffstat (limited to 'tests')
-rw-r--r--tests/file_storage/tests.py2
-rw-r--r--tests/i18n/test_percents.py2
-rw-r--r--tests/inspectdb/tests.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/file_storage/tests.py b/tests/file_storage/tests.py
index 7957323299..f3011749f8 100644
--- a/tests/file_storage/tests.py
+++ b/tests/file_storage/tests.py
@@ -821,7 +821,7 @@ class FileFieldStorageTests(TestCase):
# Create sample file
temp_storage.save('tests/example.txt', ContentFile('some content'))
- # Load it as python file object
+ # Load it as Python file object
with open(temp_storage.path('tests/example.txt')) as file_obj:
# Save it using storage and read its content
temp_storage.save('tests/file_obj', file_obj)
diff --git a/tests/i18n/test_percents.py b/tests/i18n/test_percents.py
index 5ab146a4c2..e17d041020 100644
--- a/tests/i18n/test_percents.py
+++ b/tests/i18n/test_percents.py
@@ -33,7 +33,7 @@ class ExtractingStringsWithPercentSigns(POFileAssertionMixin, FrenchTestCase):
Percent signs are python formatted.
These tests should all have an analogous translation tests below, ensuring
- the python formatting does not persist through to a rendered template.
+ the Python formatting does not persist through to a rendered template.
"""
def setUp(self):
diff --git a/tests/inspectdb/tests.py b/tests/inspectdb/tests.py
index 849773ef9e..90a8c5f5e2 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(