From 13859bfedc77a54adfc7bab75573fd330438587a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Fran=C3=A7ois=20Natali?= Date: Sat, 10 Dec 2011 13:16:44 +0100 Subject: Issue #13453: Catch EAI_FAIL in support.transient_internet. --- Lib/test/support.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/support.py b/Lib/test/support.py index ab71d47..51375d5 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 -- cgit v0.12