summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-29 07:18:02 (GMT)
committerGuido van Rossum <guido@python.org>2001-10-29 07:18:02 (GMT)
commit9bd1401bbbbc828b457cda4a5753d643333e08cb (patch)
treeff40edcdd8ef5417c9d68bcf4f084f97fc73f551 /Lib
parentcb656882185bf94290967c33b5c13f3ae47887b5 (diff)
downloadcpython-9bd1401bbbbc828b457cda4a5753d643333e08cb.zip
cpython-9bd1401bbbbc828b457cda4a5753d643333e08cb.tar.gz
cpython-9bd1401bbbbc828b457cda4a5753d643333e08cb.tar.bz2
Use sendall() in the stream test instead of send().
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_socketserver.py2
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)