Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r55284:f94ef1d4068a Date: 2012-06-03 16:10 +0200 http://bitbucket.org/pypy/pypy/changeset/f94ef1d4068a/
Log: Fix the test on Linux. 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() _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit