summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/contrib/gis/tests/geoapp/test_regress.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/django/contrib/gis/tests/geoapp/test_regress.py b/django/contrib/gis/tests/geoapp/test_regress.py
index fffd7d3cab..0e9c5c44a3 100644
--- a/django/contrib/gis/tests/geoapp/test_regress.py
+++ b/django/contrib/gis/tests/geoapp/test_regress.py
@@ -1,4 +1,5 @@
-from __future__ import absolute_import
+# -*- encoding: utf-8 -*-
+from __future__ import absolute_import, unicode_literals
from datetime import datetime
@@ -26,7 +27,7 @@ class GeoRegressionTests(TestCase):
def test_kmz(self):
"Testing `render_to_kmz` with non-ASCII data. See #11624."
- name = '\xc3\x85land Islands'.decode('iso-8859-1')
+ name = "Ă…land Islands"
places = [{'name' : name,
'description' : name,
'kml' : '<Point><coordinates>5.0,23.0</coordinates></Point>'