aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_socks.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-09-20 18:12:55 +0200
committerMaximilian Hils <git@maximilianhils.com>2015-09-20 18:12:55 +0200
commit3f1ca556d14ce71331b8dbc69be4db670863271a (patch)
treef22b8f35250d8a6431235cb4f3eecb6874208e88 /test/test_socks.py
parent91cdd78201497e89b9a17275a484d461f0143137 (diff)
downloadmitmproxy-3f1ca556d14ce71331b8dbc69be4db670863271a.tar.gz
mitmproxy-3f1ca556d14ce71331b8dbc69be4db670863271a.tar.bz2
mitmproxy-3f1ca556d14ce71331b8dbc69be4db670863271a.zip
python3++
Diffstat (limited to 'test/test_socks.py')
-rw-r--r--test/test_socks.py2
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()