diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-17 16:38:31 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-17 16:45:45 +1300 |
commit | ce98a9219e060b729d4b0d2dc28bf4510649f0fd (patch) | |
tree | c5be5cc8d53de169aadd7c30c4ad41b55b79c783 /test/pathod/test_pathod.py | |
parent | 839813a84c3d63ca44d2721f6cb39b79c489195a (diff) | |
download | mitmproxy-ce98a9219e060b729d4b0d2dc28bf4510649f0fd.tar.gz mitmproxy-ce98a9219e060b729d4b0d2dc28bf4510649f0fd.tar.bz2 mitmproxy-ce98a9219e060b729d4b0d2dc28bf4510649f0fd.zip |
test & examples: zap six
Diffstat (limited to 'test/pathod/test_pathod.py')
-rw-r--r-- | test/pathod/test_pathod.py | 4 |
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")) |