diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 10cd5d87954..1880b115fde 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -124,7 +124,7 @@ def missing_ok(str): break if verbose: print 'received:', data - conn.send(data) + conn.sendall(data) conn.close() else: try: