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 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