[issue12500] support.transient_internet(): catch also Windows socket errors

Antoine Pitrou report at bugs.python.org
Tue Jul 5 13:45:15 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

> Oh ok. Here is a patch for test_ssl.test_connect_ex() ignoring ECONNREFUSED error.

IMO you also want to test for the other errnos in transient_internet.
Also, it should skip the test if the connection is refused.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12500>
_______________________________________


More information about the Python-bugs-list mailing list