STINNER Victor added the comment:

> Looking at this more closely, the check seems to be there just to check if 
> basic DNS lookups are working. It was added for Issue 12804. One option might 
> be to replace it with a support.transient_internet() handler: (...)

Oh good idea. This context manager sets also a timeout to 30 seconds which can 
help to skip the test only platforms with flacky internet connections.

By the way, I also saw the test failing randomly on the Windows 8.1 buildbot. I 
hope that support.transient_internet() will also skip the tes on this case.

I close the issue since the initial issue is fixed.

Thanks Martin for the hint ;)

----------
resolution:  -> fixed
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25138>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to