[issue7547] test_timeout should skip, not fail, when the remote host is not available

2010-10-29 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, as discussed on irc, I'm proposing a patch that: - wraps the test with support.transient_internet - limits the assert to only socket.timeout (what we want to test) test_smptnet.py is already fixed, since it already uses

[issue7547] test_timeout should skip, not fail, when the remote host is not available

2010-10-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r85931 (3.2), r85932 (3.1) and r85933 (2.7). -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7547] test_timeout should skip, not fail, when the remote host is not available

2010-07-11 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7547 ___ ___

[issue7547] test_timeout should skip, not fail, when the remote host is not available

2009-12-19 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: test_timeout uses www.python.org as a Guinea pig for its socket tests. Unfortunately sometimes www.python.org is down, which gives the following kind of failures (seen on a buildbot recently): test test_timeout failed -- Traceback (most recent