commit | 9bd1401bbbbc828b457cda4a5753d643333e08cb | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Oct 29 07:18:02 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Oct 29 07:18:02 2001 +0000 |
tree | ff40edcdd8ef5417c9d68bcf4f084f97fc73f551 | |
parent | cb656882185bf94290967c33b5c13f3ae47887b5 [diff] |
Use sendall() in the stream test instead of send().
diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py index d3cd5a6..19b5bf5 100644 --- a/Lib/test/test_socketserver.py +++ b/Lib/test/test_socketserver.py
@@ -58,7 +58,7 @@ def teststream(proto, addr): s = socket.socket(proto, socket.SOCK_STREAM) s.connect(addr) - s.send(teststring) + s.sendall(teststring) buf = data = receive(s, 100) while data and '\n' not in buf: data = receive(s, 100)