diff options
author | Guido van Rossum <guido@python.org> | 2001-10-29 07:18:02 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-10-29 07:18:02 (GMT) |
commit | 9bd1401bbbbc828b457cda4a5753d643333e08cb (patch) | |
tree | ff40edcdd8ef5417c9d68bcf4f084f97fc73f551 | |
parent | cb656882185bf94290967c33b5c13f3ae47887b5 (diff) | |
download | cpython-9bd1401bbbbc828b457cda4a5753d643333e08cb.zip cpython-9bd1401bbbbc828b457cda4a5753d643333e08cb.tar.gz cpython-9bd1401bbbbc828b457cda4a5753d643333e08cb.tar.bz2 |
Use sendall() in the stream test instead of send().
-rw-r--r-- | Lib/test/test_socketserver.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 testdgram(proto, addr): 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) |