Xiang Zhang added the comment: Ohh, sorry.
> I was wondering if there was a separate way to detect the troublesome ISP > environment. How could you differentiate the failure between ISP environment caused and function behaved wrongly? Successfully resolve an invalid ip address doesn't mean you can successfully resolve a bogus domain. I think this case should be rare. Maybe we can just fail the test and warn the user this failure is not 100% caused by function's misbehaviour, just like test_bad_address. ---------- Added file: http://bugs.python.org/file45716/test_host_resolution-v2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28728> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com