diff options
author | Sergey Shepelev <temotor@gmail.com> | 2016-08-24 12:07:33 +0500 |
---|---|---|
committer | Sergey Shepelev <temotor@gmail.com> | 2016-08-24 12:07:33 +0500 |
commit | 23ea43a65f808759597317f9e6fc22909fab619a (patch) | |
tree | 5751b0efa7d6d2a3a5f1b3280ee36bc6a53f783e | |
parent | 52b09becacd23f384cf69ae37d70c893c43e3b13 (diff) | |
download | eventlet-23ea43a65f808759597317f9e6fc22909fab619a.tar.gz |
tests: (minor) socket.sendall() needs bytes, not string
-rw-r--r-- | tests/greenio_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |