summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_urllib.py')
-rw-r--r--Lib/test/test_urllib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py
index 469a5d2..2262836 100644
--- a/Lib/test/test_urllib.py
+++ b/Lib/test/test_urllib.py
@@ -556,9 +556,9 @@ def server(evt):
conn.send("1 Hola mundo\n")
cantdata = 0
while cantdata < 13:
- print "len:", cantdata
data = conn.recv(13-cantdata)
cantdata += len(data)
+ time.sleep(.3)
conn.send("2 No more lines\n")
conn.close()
except socket.timeout: