diff Lib/test/support.py @ 71269:ef4b40eb52cc 3.2

Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary failure in name resolution. Should fix a buildbot failure.
author Antoine Pitrou <solipsis@pitrou.net>
date Sat, 09 Jul 2011 02:31:24 +0200
parents d8ba59de860a
children 6a221b6b81ee b039b16f0415
line wrap: on
line diff
--- a/Lib/test/support.py	Fri Jul 08 19:43:51 2011 +0200
+++ b/Lib/test/support.py	Sat Jul 09 02:31:24 2011 +0200
@@ -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