summaryrefslogtreecommitdiff
path: root/tests/regressiontests/mail
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/mail
parent2da3af23aa10af3e06536a46134b1053f80eb8b2 (diff)
[py3] Used compatible imports of StringIO.
Diffstat (limited to 'tests/regressiontests/mail')
-rw-r--r--tests/regressiontests/mail/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/mail/tests.py b/tests/regressiontests/mail/tests.py
index 2215f56523..0d0af19427 100644
--- a/tests/regressiontests/mail/tests.py
+++ b/tests/regressiontests/mail/tests.py
@@ -7,7 +7,6 @@ import os
import shutil
import smtpd
import sys
-from StringIO import StringIO
import tempfile
import threading
@@ -18,6 +17,7 @@ from django.core.mail.backends import console, dummy, locmem, filebased, smtp
from django.core.mail.message import BadHeaderError
from django.test import TestCase
from django.test.utils import override_settings
+from django.utils.six import StringIO
from django.utils.translation import ugettext_lazy