aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/files.py
diff options
context:
space:
mode:
authorXavier Ordoquy2013-01-03 11:41:07 +0100
committerXavier Ordoquy2013-01-03 11:41:07 +0100
commit60250f22c8e144494f372338c16a2167cccb319d (patch)
treea467ab51837175ab29abec7eb22bb936375763da /rest_framework/tests/files.py
parentcf51dcc9bb409fb985d5aa09c426d1ed33f6e9b4 (diff)
downloaddjango-rest-framework-60250f22c8e144494f372338c16a2167cccb319d.tar.bz2
Move the various compat things to the compat module.
Diffstat (limited to 'rest_framework/tests/files.py')
-rw-r--r--rest_framework/tests/files.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/rest_framework/tests/files.py b/rest_framework/tests/files.py
index 42e8ed5f..ca6bc905 100644
--- a/rest_framework/tests/files.py
+++ b/rest_framework/tests/files.py
@@ -1,11 +1,10 @@
-from rest_framework.compat import BytesIO
-
import datetime
-import six
from django.test import TestCase
from rest_framework import serializers
+from rest_framework.compat import BytesIO
+from rest_framework.compat import six
class UploadedFile(object):