aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tests.py2
-rw-r--r--tests/urls.py2
-rw-r--r--tests/views.py4
3 files changed, 6 insertions, 2 deletions
diff --git a/tests/tests.py b/tests/tests.py
index 4c6f246..5dcb034 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -1,4 +1,4 @@
-from __future__ import with_statement
+from __future__ import unicode_literals
import thread
import django
diff --git a/tests/urls.py b/tests/urls.py
index 326c61a..9c24c1e 100644
--- a/tests/urls.py
+++ b/tests/urls.py
@@ -5,6 +5,8 @@ These should not be loaded explicitly; the debug toolbar middleware will patch
this into the urlconf for the request.
"""
+from __future__ import unicode_literals
+
from django.conf.urls import patterns, url
from django.contrib import admin
diff --git a/tests/views.py b/tests/views.py
index 909a784..ec9f30e 100644
--- a/tests/views.py
+++ b/tests/views.py
@@ -1,9 +1,11 @@
+from __future__ import unicode_literals
+
from django.contrib.auth.models import User
from django.http import HttpResponse
def execute_sql(request):
list(User.objects.all())
-
+
return HttpResponse()
def resolving_view(request, arg1, arg2):