summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-29 07:14:10 (GMT)
committerGuido van Rossum <guido@python.org>2001-10-29 07:14:10 (GMT)
commitcb656882185bf94290967c33b5c13f3ae47887b5 (patch)
treeae45b48eb328f08d78543a0a5df1c8dfdad88d64 /Lib/test/test_socket.py
parentb2c763fed22f89b6f7d1cee67582026b763d8cee (diff)
downloadcpython-cb656882185bf94290967c33b5c13f3ae47887b5.zip
cpython-cb656882185bf94290967c33b5c13f3ae47887b5.tar.gz
cpython-cb656882185bf94290967c33b5c13f3ae47887b5.tar.bz2
Test sendall().
Diffstat (limited to 'Lib/test/test_socket.py')
-rw-r--r--Lib/test/test_socket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index 10cd5d8..1880b11 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -124,7 +124,7 @@ try:
break
if verbose:
print 'received:', data
- conn.send(data)
+ conn.sendall(data)
conn.close()
else:
try: