summaryrefslogtreecommitdiff
path: root/tests/regressiontests/wsgi/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regressiontests/wsgi/tests.py')
-rw-r--r--tests/regressiontests/wsgi/tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/regressiontests/wsgi/tests.py b/tests/regressiontests/wsgi/tests.py
index 0e8d7f2ada..9614a81c67 100644
--- a/tests/regressiontests/wsgi/tests.py
+++ b/tests/regressiontests/wsgi/tests.py
@@ -1,3 +1,5 @@
+from __future__ import unicode_literals
+
from django.core.exceptions import ImproperlyConfigured
from django.core.servers.basehttp import get_internal_wsgi_application
from django.core.wsgi import get_wsgi_application
@@ -38,7 +40,7 @@ class WSGITest(TestCase):
[('Content-Type', 'text/html; charset=utf-8')])
self.assertEqual(
unicode(response),
- u"Content-Type: text/html; charset=utf-8\n\nHello World!")
+ "Content-Type: text/html; charset=utf-8\n\nHello World!")
class GetInternalWSGIApplicationTest(unittest.TestCase):