summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/support.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py
index 556e82f4..2c56e12 100644
--- a/Lib/test/support.py
+++ b/Lib/test/support.py
@@ -951,6 +951,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