summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2011-12-10 13:16:02 +0100
committerCharles-François Natali <neologix@free.fr>2011-12-10 13:16:02 +0100
commit97c9428c9105048fb062ac97f5542294692ab701 (patch)
tree58dfc90357dcab9edcaa0c6c4ae78b31bcc75f67
parentb918bdc92c96a16cd83dfa431e0ab192fb1a6cc7 (diff)
downloadcpython-git-97c9428c9105048fb062ac97f5542294692ab701.tar.gz
Issue #13453: Catch EAI_FAIL in support.transient_internet.
-rw-r--r--Lib/test/test_support.py1
1 files changed, 1 insertions, 0 deletions
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),
]