diff options
author | Charles-François Natali <neologix@free.fr> | 2011-12-10 12:16:44 (GMT) |
---|---|---|
committer | Charles-François Natali <neologix@free.fr> | 2011-12-10 12:16:44 (GMT) |
commit | 13859bfedc77a54adfc7bab75573fd330438587a (patch) | |
tree | 2cf7c0becfa058bc829d4c52c157d85e73102428 /Lib/test/support.py | |
parent | 0c6cbbd6324b40e6cd532d02c2dffdf4daca58db (diff) | |
download | cpython-13859bfedc77a54adfc7bab75573fd330438587a.zip cpython-13859bfedc77a54adfc7bab75573fd330438587a.tar.gz cpython-13859bfedc77a54adfc7bab75573fd330438587a.tar.bz2 |
Issue #13453: Catch EAI_FAIL in support.transient_internet.
Diffstat (limited to 'Lib/test/support.py')
-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 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 |