aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/files.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/tests/files.py')
-rw-r--r--rest_framework/tests/files.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rest_framework/tests/files.py b/rest_framework/tests/files.py
index 5dd57b7c..027aecf7 100644
--- a/rest_framework/tests/files.py
+++ b/rest_framework/tests/files.py
@@ -1,4 +1,5 @@
-import StringIO
+from rest_framework.compat import StringIO
+
import datetime
from django.test import TestCase