From 97c9428c9105048fb062ac97f5542294692ab701 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Charles-Fran=C3=A7ois=20Natali?= Date: Sat, 10 Dec 2011 13:16:02 +0100 Subject: [PATCH] Issue #13453: Catch EAI_FAIL in support.transient_internet. --- Lib/test/test_support.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index 4cdfe7f9be..a03cf1473b 100644 --- a/Lib/test/test_support.py +++ b/Lib/test/test_support.py @@ -764,6 +764,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), ] -- 2.50.1