Make strings in DummyServer test bytestrings

This commit is contained in:
Braulio Valdivielso Martínez
2015-11-25 13:53:54 +01:00
parent 9a2cc99b06
commit b806ce15ba
+2 -2
View File
@@ -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)