summaryrefslogtreecommitdiff
path: root/tests/regressiontests/file_uploads
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-08-07 15:41:54 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-08-08 14:50:01 +0200
commit396357741b88dfcd85486db673dbb822da8b2de0 (patch)
tree1a9a659339554858109be3e5cfafc188397699bf /tests/regressiontests/file_uploads
parent2da3af23aa10af3e06536a46134b1053f80eb8b2 (diff)
[py3] Used compatible imports of StringIO.
Diffstat (limited to 'tests/regressiontests/file_uploads')
-rw-r--r--tests/regressiontests/file_uploads/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/file_uploads/tests.py b/tests/regressiontests/file_uploads/tests.py
index 9fe3ca15a7..d2362d7197 100644
--- a/tests/regressiontests/file_uploads/tests.py
+++ b/tests/regressiontests/file_uploads/tests.py
@@ -7,12 +7,12 @@ import hashlib
import json
import os
import shutil
-from StringIO import StringIO
from django.core.files import temp as tempfile
from django.core.files.uploadedfile import SimpleUploadedFile
from django.http.multipartparser import MultiPartParser
from django.test import TestCase, client
+from django.utils.six import StringIO
from django.utils import unittest
from . import uploadhandler