[pypy-commit] pypy default: merge
fijal
noreply at buildbot.pypy.org
Sun Jun 3 16:11:22 CEST 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch:
Changeset: r55287:2b960ad2d155
Date: 2012-06-03 16:11 +0200
http://bitbucket.org/pypy/pypy/changeset/2b960ad2d155/
Log: merge
diff --git a/pypy/module/_socket/test/test_sock_app.py b/pypy/module/_socket/test/test_sock_app.py
--- a/pypy/module/_socket/test/test_sock_app.py
+++ b/pypy/module/_socket/test/test_sock_app.py
@@ -618,9 +618,12 @@
except timeout:
pass
t.recv(count)
- # test sendall() timeout, be sure to send data larger than the
- # socket buffer
- raises(timeout, cli.sendall, 'foobar' * 7000)
+ # test sendall() timeout
+ try:
+ while 1:
+ cli.sendall('foobar' * 70)
+ except timeout:
+ pass
# done
cli.close()
t.close()
More information about the pypy-commit
mailing list