From 23ea43a65f808759597317f9e6fc22909fab619a Mon Sep 17 00:00:00 2001 From: Sergey Shepelev Date: Wed, 24 Aug 2016 12:07:33 +0500 Subject: tests: (minor) socket.sendall() needs bytes, not string --- tests/greenio_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/greenio_test.py b/tests/greenio_test.py index 99119b3..619ccd0 100644 --- a/tests/greenio_test.py +++ b/tests/greenio_test.py @@ -921,7 +921,7 @@ def test_socket_file_read_non_int(): def server(): conn, _ = listen_socket.accept() conn.recv(1) - conn.sendall('response') + conn.sendall(b'response') conn.close() eventlet.spawn(server) -- cgit v1.2.1