New submission from Xavier de Gaye: test_socket fails on an android emulator running an x86 system image at API level 21.
====================================================================== ERROR: testGetServBy (test.test_socket.GeneralModuleTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_socket.py", line 913, in testGetServBy port2 = socket.getservbyname(service) OSError: service/proto not found ====================================================================== ERROR: testGetaddrinfo (test.test_socket.GeneralModuleTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_socket.py", line 1240, in testGetaddrinfo socket.getaddrinfo(HOST, "http") File "/sdcard/org.bitbucket.pyona/lib/python3.6/socket.py", line 732, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 9] servname not supported for ai_socktype ---------------------------------------------------------------------- Ran 530 tests in 26.702s FAILED (errors=2, skipped=75) test test_socket failed 1 test failed: test_socket Total duration: 0:00:27 ---------- components: Cross-Build, Library (Lib) messages: 264737 nosy: Alex.Willmer, xdegaye priority: normal severity: normal status: open title: android: test_socket fails type: behavior versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26936> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com