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_language_actions.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_language_actions.py')
-rw-r--r-- | test/pathod/test_language_actions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pathod/test_language_actions.py b/test/pathod/test_language_actions.py index 2b1b6915..9740e5c7 100644 --- a/test/pathod/test_language_actions.py +++ b/test/pathod/test_language_actions.py @@ -1,4 +1,4 @@ -from six import BytesIO +import io from pathod.language import actions, parse_pathoc, parse_pathod, serve @@ -60,7 +60,7 @@ class TestInject: assert v.offset == "r" def test_serve(self): - s = BytesIO() + s = io.BytesIO() r = next(parse_pathod("400:i0,'foo'")) assert serve(r, s, {}) |