diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-09 00:34:05 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-09 00:34:05 (GMT) |
commit | 4a4a0fed0797b641d2a980cc1b8ef4c77bbae9b5 (patch) | |
tree | f40080c5dcf17d6bcfba3a57b8269c668302b0dd /Lib/test/test_support.py | |
parent | 2960308c0c4e2a669e19dcb1a0d20184571f5a29 (diff) | |
download | cpython-4a4a0fed0797b641d2a980cc1b8ef4c77bbae9b5.zip cpython-4a4a0fed0797b641d2a980cc1b8ef4c77bbae9b5.tar.gz cpython-4a4a0fed0797b641d2a980cc1b8ef4c77bbae9b5.tar.bz2 |
Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary
failure in name resolution.
Should fix a buildbot failure.
Diffstat (limited to 'Lib/test/test_support.py')
-rw-r--r-- | Lib/test/test_support.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index de56e9e..4cdfe7f 100644 --- a/Lib/test/test_support.py +++ b/Lib/test/test_support.py @@ -763,6 +763,7 @@ def transient_internet(resource_name, timeout=30.0, errnos=()): ('ETIMEDOUT', 110), ] default_gai_errnos = [ + ('EAI_AGAIN', -3), ('EAI_NONAME', -2), ('EAI_NODATA', -5), ] |