summaryrefslogtreecommitdiff
path: root/tests/servers/test_basehttp.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-07-20 08:02:22 -0400
committerTim Graham <timograham@gmail.com>2015-07-20 08:19:47 -0400
commit6e3fe089dd4461731149f3621e61b831bf3c0db7 (patch)
treec87f9b325c9738dfc2036d927306969284f4cbe6 /tests/servers/test_basehttp.py
parentecf4ed246ae192f8d381b799b921a892fd7afa85 (diff)
Replaced six.BytesIO with io.BytesIO
Diffstat (limited to 'tests/servers/test_basehttp.py')
-rw-r--r--tests/servers/test_basehttp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/servers/test_basehttp.py b/tests/servers/test_basehttp.py
index 91dcaa17d9..b9008be8e8 100644
--- a/tests/servers/test_basehttp.py
+++ b/tests/servers/test_basehttp.py
@@ -1,9 +1,10 @@
+from io import BytesIO
+
from django.core.handlers.wsgi import WSGIRequest
from django.core.servers.basehttp import WSGIRequestHandler
from django.test import SimpleTestCase
from django.test.client import RequestFactory
from django.test.utils import captured_stderr
-from django.utils.six import BytesIO
class Stub(object):