diff options
Diffstat (limited to 'Lib/test/test_socketserver.py')
-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) |