aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTom Christie2014-12-12 13:22:24 +0000
committerTom Christie2014-12-12 13:22:24 +0000
commit8825b258caa0c51d6dcdb3529dc433c75a76339d (patch)
treed72f3f613bbe51716355b9d1d68e5905c2bb2307 /tests
parente3b16c8bc631d5be599776c483ee0488cef9c288 (diff)
downloaddjango-rest-framework-8825b258caa0c51d6dcdb3529dc433c75a76339d.tar.bz2
Clean up import ordering
Diffstat (limited to 'tests')
-rw-r--r--tests/test_testing.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_testing.py b/tests/test_testing.py
index 6fce8464..87d2b61f 100644
--- a/tests/test_testing.py
+++ b/tests/test_testing.py
@@ -1,15 +1,13 @@
-# -- coding: utf-8 --
-
+# encoding: utf-8
from __future__ import unicode_literals
from django.conf.urls import patterns, url
-from io import BytesIO
-
from django.contrib.auth.models import User
from django.shortcuts import redirect
from django.test import TestCase
from rest_framework.decorators import api_view
from rest_framework.response import Response
from rest_framework.test import APIClient, APIRequestFactory, force_authenticate
+from io import BytesIO
@api_view(['GET', 'POST'])