From: Charles-François Natali Date: Sat, 10 Dec 2011 12:16:44 +0000 (+0100) Subject: Issue #13453: Catch EAI_FAIL in support.transient_internet. X-Git-Tag: v3.2.3rc1~296 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=13859bfedc77a54adfc7bab75573fd330438587a;p=python Issue #13453: Catch EAI_FAIL in support.transient_internet. --- diff --git a/Lib/test/support.py b/Lib/test/support.py index ab71d47012..51375d5d6b 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -877,6 +877,7 @@ def transient_internet(resource_name, *, timeout=30.0, errnos=()): ] default_gai_errnos = [ ('EAI_AGAIN', -3), + ('EAI_FAIL', -4), ('EAI_NONAME', -2), ('EAI_NODATA', -5), # Encountered when trying to resolve IPv6-only hostnames