From b806ce15ba5d726f94f58aa247fe40b6e2972fb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Braulio=20Valdivielso=20Mart=C3=ADnez?= Date: Wed, 25 Nov 2015 13:53:54 +0100 Subject: [PATCH] Make strings in DummyServer test bytestrings --- test_requests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_requests.py b/test_requests.py index 5bf1e402..89d9c75b 100755 --- a/test_requests.py +++ b/test_requests.py @@ -1740,8 +1740,8 @@ def test_vendor_aliases(): class TestDummyServer(unittest.TestCase): def test_basic(self): - question = "sucess?" - answer = "yeah, success" + question = b"sucess?" + answer = b"yeah, success" def handler(server_sock): sock, _ = server_sock.accept() text = sock.recv(1000)