Commit f68a55a8 authored by Denis Bilenko's avatar Denis Bilenko

ignore some windows errors

parent 5973df98
......@@ -32,6 +32,13 @@ accept_results = [
("gaierror(1, 'ARES_ENODATA: DNS server returned answer with no data')",
"gaierror(-5, 'No address associated with hostname')"),
# windows has its own error codes:
("gaierror(4, 'ARES_ENOTFOUND: Domain name not found')",
"gaierror(11001, 'getaddrinfo failed')"),
("gaierror(4, 'ARES_ENOTFOUND: Domain name not found')",
"herror(11004, 'host not found')"),
# _socket.gethostbyname_ex('\x00') checks for zeroes and raises TypeError
# but it's not worth the trouble
("gaierror(1, 'ARES_ENODATA: DNS server returned answer with no data')",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment