New submission from Xavier de Gaye: test_socket on Android fails with: FAIL: test_set_inheritable (test.test_socket.InheritanceTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.7/test/test_socket.py", line 4936, in test_set_inheritable self.assertEqual(sock.get_inheritable(), True) AssertionError: False != True
====================================================================== FAIL: test_set_inheritable_cloexec (test.test_socket.InheritanceTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.7/test/test_socket.py", line 4965, in test_set_inheritable_cloexec 0) AssertionError: 1 != 0 Setting a file descriptor with os.set_inheritable() also fails. Setting directly the file descriptor with fcntl.fcntl() succeeds. ---------- assignee: xdegaye components: Interpreter Core messages: 281221 nosy: xdegaye priority: normal severity: normal stage: needs patch status: open title: cannot set_inheritable() for a file descriptor on Android type: behavior versions: Python 3.6, Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28746> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com