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_pathoc_cmdline.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_pathoc_cmdline.py')
-rw-r--r-- | test/pathod/test_pathoc_cmdline.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pathod/test_pathoc_cmdline.py b/test/pathod/test_pathoc_cmdline.py index 922cf3a9..7f51929f 100644 --- a/test/pathod/test_pathoc_cmdline.py +++ b/test/pathod/test_pathoc_cmdline.py @@ -1,4 +1,4 @@ -from six.moves import cStringIO as StringIO +import io import mock from pathod import pathoc_cmdline as cmdline @@ -9,7 +9,7 @@ from . import tutils @mock.patch("argparse.ArgumentParser.error") def test_pathoc(perror): assert cmdline.args_pathoc(["pathoc", "foo.com", "get:/"]) - s = StringIO() + s = io.StringIO() with tutils.raises(SystemExit): cmdline.args_pathoc(["pathoc", "--show-uas"], s, s) |