commit | 390ea0f25dadf429d4bea630ba6d2ec06c6c2e10 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Fri Apr 29 00:44:33 2011 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Fri Apr 29 00:44:33 2011 +0200 |
tree | 0c78fd2fad6f52cbcf36889db8b6e743da3c8912 | |
parent | 1aa422fe8f056fd0000da45a67d875adc75cf034 [diff] |
Add WSANO_DATA to possible errors triggered by getaddrinfo (Windows)
diff --git a/Lib/test/support.py b/Lib/test/support.py index 8d8e187..a9e1b77 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py
@@ -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)