This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients pitrou
Date 2009-12-19.16:45:02
SpamBayes Score 9.786719e-10
Marked as misclassified No
Message-id <1261241104.77.0.599570179128.issue7547@psf.upfronthosting.co.za>
In-reply-to
Content
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 call last):
  File "C:\buildslave\3.x.moore-windows\build\lib\test\test_timeout.py",
line 133, in testRecvTimeout
    self.sock.connect(self.addr_remote)
socket.error: [Errno 10060] A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to respond

test_timeout should catch the error and simply skip the test with an
appropriate message.

There's a similar problem with test_smtpnet which uses gmail as its
remote SMTP-SSL provider.
History
Date User Action Args
2009-12-19 16:45:04pitrousetrecipients: + pitrou
2009-12-19 16:45:04pitrousetmessageid: <1261241104.77.0.599570179128.issue7547@psf.upfronthosting.co.za>
2009-12-19 16:45:03pitroulinkissue7547 messages
2009-12-19 16:45:02pitroucreate