diff Lib/test/support.py @ 69676:89ebde7cd8ea 3.2

Add WSANO_DATA to possible errors triggered by getaddrinfo (Windows)
author Antoine Pitrou <solipsis@pitrou.net>
date Fri, 29 Apr 2011 00:44:33 +0200
parents 1bf4383f190a
children ae6cd69ce9f8 1e3c6fedcf8e
line wrap: on
line diff
--- a/Lib/test/support.py	Thu Apr 28 17:03:45 2011 +0200
+++ b/Lib/test/support.py	Fri Apr 29 00:44:33 2011 +0200
@@ -839,6 +839,8 @@
     default_gai_errnos = [
         ('EAI_NONAME', -2),
         ('EAI_NODATA', -5),
+        # Encountered when trying to resolve IPv6-only hostnames
+        ('WSANO_DATA', 11004),
     ]
 
     denied = ResourceDenied("Resource '%s' is not available" % resource_name)