summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMingun Pak <kaienmg@gmail.com>2016-01-24 02:18:11 +0900
committerTim Graham <timograham@gmail.com>2016-01-23 12:46:14 -0500
commit74db1378d5952f48dd623ce887dc22c016b83740 (patch)
treec5ef6fe06d44c3ddeee8997625faa90a7a4de234
parent3ab0439b69d6e26671c6da8b2ed41d46bcf2ec7b (diff)
[1.9.x] Fixed typos in test comments.
Backport of 4c912d184d5ba2ae7355fd8dacb70a0366b8f23b from master
-rw-r--r--tests/file_uploads/tests.py2
-rw-r--r--tests/gis_tests/geoapp/test_functions.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/file_uploads/tests.py b/tests/file_uploads/tests.py
index 1d0d0ffee1..ccecfce5c1 100644
--- a/tests/file_uploads/tests.py
+++ b/tests/file_uploads/tests.py
@@ -112,7 +112,7 @@ class FileUploadTests(TestCase):
tdir = sys_tempfile.mkdtemp()
self.addCleanup(shutil.rmtree, tdir, True)
- # This file contains chinese symbols and an accented char in the name.
+ # This file contains Chinese symbols and an accented char in the name.
with open(os.path.join(tdir, UNICODE_FILENAME), 'w+b') as file1:
file1.write(b'b' * (2 ** 10))
file1.seek(0)
diff --git a/tests/gis_tests/geoapp/test_functions.py b/tests/gis_tests/geoapp/test_functions.py
index 99135643dd..13b49db1b5 100644
--- a/tests/gis_tests/geoapp/test_functions.py
+++ b/tests/gis_tests/geoapp/test_functions.py
@@ -94,7 +94,7 @@ class GISFunctionsTests(TestCase):
@skipUnlessDBFeature("has_AsGML_function")
def test_asgml(self):
- # Should throw a TypeError when tyring to obtain GML from a
+ # Should throw a TypeError when trying to obtain GML from a
# non-geometry field.
qs = City.objects.all()
with self.assertRaises(TypeError):