commit | 4875c4653881b1cb7095b6cfd46808cd130b5c88 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sat Jul 09 02:31:24 2011 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sat Jul 09 02:31:24 2011 +0200 |
tree | 960bae7a12112425751b4e32b72eef88ce304b85 | |
parent | 95531ea2f1c69eed6b8a5d964f0fd47c124ccca8 [diff] |
Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary failure in name resolution. Should fix a buildbot failure.
diff --git a/Lib/test/support.py b/Lib/test/support.py index 83ea6c1..e2d7ae0 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py
@@ -867,6 +867,7 @@ ('ETIMEDOUT', 110), ] default_gai_errnos = [ + ('EAI_AGAIN', -3), ('EAI_NONAME', -2), ('EAI_NODATA', -5), # Encountered when trying to resolve IPv6-only hostnames