diff options
| author | Shadab Zafar <dufferzafar0@gmail.com> | 2016-06-15 10:33:56 +0530 |
|---|---|---|
| committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-06-15 09:49:38 +0200 |
| commit | f83433e67466397a78a37fde3607edf2dac42d5b (patch) | |
| tree | 710d688185f53bcc2414a8a4635b87ff7cd20c7c /test/pathod/tutils.py | |
| parent | fa40531a80bbe5e0011383fe81f7e4785b2b0a7d (diff) | |
| download | mitmproxy-f83433e67466397a78a37fde3607edf2dac42d5b.tar.gz mitmproxy-f83433e67466397a78a37fde3607edf2dac42d5b.tar.bz2 mitmproxy-f83433e67466397a78a37fde3607edf2dac42d5b.zip | |
Py3: pathoc
Diffstat (limited to 'test/pathod/tutils.py')
| -rw-r--r-- | test/pathod/tutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathod/tutils.py b/test/pathod/tutils.py index ccdd725b..daaa8628 100644 --- a/test/pathod/tutils.py +++ b/test/pathod/tutils.py @@ -20,7 +20,7 @@ def treader(bytes): """ Construct a tcp.Read object from bytes. """ - fp = StringIO(bytes) + fp = BytesIO(bytes) return tcp.Reader(fp) |
