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 2ce013f..ba53ab9 100644
--- a/Lib/test/support.py
+++ b/Lib/test/support.py
@@ -909,6 +909,7 @@
         ('ETIMEDOUT', 110),
     ]
     default_gai_errnos = [
+        ('EAI_AGAIN', -3),
         ('EAI_NONAME', -2),
         ('EAI_NODATA', -5),
         # Encountered when trying to resolve IPv6-only hostnames
diff --git a/Misc/NEWS b/Misc/NEWS
index 414db05..c4c8430 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1008,6 +1008,9 @@
 Tests
 -----
 
+- Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary
+  failure in name resolution.
+
 - Avoid failing in test_robotparser when mueblesmoraleda.com is flaky and
   an overzealous DNS service (e.g. OpenDNS) redirects to a placeholder
   Web site.