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
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
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
versions: -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7547
___
___
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