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 vstinner
Recipients martin.panter, nadeem.vawda, python-dev, vstinner
Date 2015-09-21.07:12:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1442819551.31.0.937634344084.issue25138@psf.upfronthosting.co.za>
In-reply-to
Content
> 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 ;)
History
Date User Action Args
2015-09-21 07:12:31vstinnersetrecipients: + vstinner, nadeem.vawda, python-dev, martin.panter
2015-09-21 07:12:31vstinnersetmessageid: <1442819551.31.0.937634344084.issue25138@psf.upfronthosting.co.za>
2015-09-21 07:12:31vstinnerlinkissue25138 messages
2015-09-21 07:12:30vstinnercreate