summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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 33dc699ab4..16548b86cb 100644
--- a/tests/file_storage/tests.py
+++ b/tests/file_storage/tests.py
@@ -781,7 +781,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 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(