diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-09-20 18:12:55 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-09-20 18:12:55 +0200 |
commit | 3f1ca556d14ce71331b8dbc69be4db670863271a (patch) | |
tree | f22b8f35250d8a6431235cb4f3eecb6874208e88 /test/test_socks.py | |
parent | 91cdd78201497e89b9a17275a484d461f0143137 (diff) | |
download | mitmproxy-3f1ca556d14ce71331b8dbc69be4db670863271a.tar.gz mitmproxy-3f1ca556d14ce71331b8dbc69be4db670863271a.tar.bz2 mitmproxy-3f1ca556d14ce71331b8dbc69be4db670863271a.zip |
python3++
Diffstat (limited to 'test/test_socks.py')
-rw-r--r-- | test/test_socks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_socks.py b/test/test_socks.py index 65a0f0eb..f2fb9b98 100644 --- a/test/test_socks.py +++ b/test/test_socks.py @@ -23,7 +23,7 @@ def test_client_greeting_assert_socks5(): msg = socks.ClientGreeting.from_file(raw) tutils.raises(socks.SocksError, msg.assert_socks5) - raw = tutils.treader(b"HTTP/1.1 200 OK" + " " * 100) + raw = tutils.treader(b"HTTP/1.1 200 OK" + b" " * 100) msg = socks.ClientGreeting.from_file(raw) try: msg.assert_socks5() |