This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients xdegaye
Date 2016-11-19.14:19:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479565173.32.0.268004385274.issue28746@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-11-19 14:19:33xdegayesetrecipients: + xdegaye
2016-11-19 14:19:33xdegayesetmessageid: <1479565173.32.0.268004385274.issue28746@psf.upfronthosting.co.za>
2016-11-19 14:19:33xdegayelinkissue28746 messages
2016-11-19 14:19:33xdegayecreate