Xavier de Gaye added the comment:
This patch fixes the testGetaddrinfo test for API 21 (the test runs fine on API
23):
The failing statement 'socket.getaddrinfo(HOST, "http")' in testGetaddrinfo
does not test explicitly for "http" and for the absence of the optional 'type'
parameter.
When is_android is True, the 'socket.getaddrinfo('127.0.0.1', "echo",
type=socket.SOCK_DGRAM)' statement is run instead and the test is ok.
----------
dependencies: +add is_android in test.support to detect Android platform
Added file: http://bugs.python.org/file43001/test-getaddrinfo.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue26936>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com