diff options
author | Charles-François Natali <neologix@free.fr> | 2011-12-10 12:17:46 (GMT) |
---|---|---|
committer | Charles-François Natali <neologix@free.fr> | 2011-12-10 12:17:46 (GMT) |
commit | 1635e9cc59938573f95048128abb4c19317d8998 (patch) | |
tree | 6afdefda5dee1e1b21ee7fd418e208bc068e327d | |
parent | 7f1c15b854626df91663a5d1800c70b5cbdf0f25 (diff) | |
parent | 13859bfedc77a54adfc7bab75573fd330438587a (diff) | |
download | cpython-1635e9cc59938573f95048128abb4c19317d8998.zip cpython-1635e9cc59938573f95048128abb4c19317d8998.tar.gz cpython-1635e9cc59938573f95048128abb4c19317d8998.tar.bz2 |
Issue #13453: Catch EAI_FAIL in support.transient_internet.
-rw-r--r-- | Lib/test/support.py | 1 |
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 |