Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[py3] Fixed unicode string in geoapp test

  • Loading branch information...
commit 43c7f8c3a3cfaec001a76b1b683de3cc47eb2d2f 1 parent 874908e
Claude Paroz claudep authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 django/contrib/gis/tests/geoapp/test_regress.py
5 django/contrib/gis/tests/geoapp/test_regress.py
View
@@ -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 @@ def test_update(self):
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>'
Please sign in to comment.
Something went wrong with that request. Please try again.