aboutsummaryrefslogtreecommitdiffstats
path: root/test/pathod/test_pathod.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2016-10-17 17:03:02 +1300
committerGitHub <noreply@github.com>2016-10-17 17:03:02 +1300
commitae3ff8ee1edc646e7a640219df1a312c27f7c339 (patch)
tree490697113ceaf12cc704c418357139e60a0190f3 /test/pathod/test_pathod.py
parent3fbce7e981cab5d20b3ef17a50f14b34e8c60fa3 (diff)
parentce98a9219e060b729d4b0d2dc28bf4510649f0fd (diff)
downloadmitmproxy-ae3ff8ee1edc646e7a640219df1a312c27f7c339.tar.gz
mitmproxy-ae3ff8ee1edc646e7a640219df1a312c27f7c339.tar.bz2
mitmproxy-ae3ff8ee1edc646e7a640219df1a312c27f7c339.zip
Merge pull request #1615 from cortesi/python3a
exterminate six
Diffstat (limited to 'test/pathod/test_pathod.py')
-rw-r--r--test/pathod/test_pathod.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pathod/test_pathod.py b/test/pathod/test_pathod.py
index 0b34f924..d119348a 100644
--- a/test/pathod/test_pathod.py
+++ b/test/pathod/test_pathod.py
@@ -1,4 +1,4 @@
-from six.moves import cStringIO as StringIO
+import io
from pathod import pathod
from netlib import tcp
@@ -10,7 +10,7 @@ from . import tutils
class TestPathod(object):
def test_logging(self):
- s = StringIO()
+ s = io.StringIO()
p = pathod.Pathod(("127.0.0.1", 0), logfp=s)
assert len(p.get_log()) == 0
id = p.add_log(dict(s="foo"))