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 vstinner
Recipients vstinner
Date 2016-08-24.09:57:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472032643.28.0.131031350322.issue27847@psf.upfronthosting.co.za>
In-reply-to
Content
On Python 3.5, it seems ok:
---
test_get_inheritable_cloexec (test.test_socket.InheritanceTest) ... ok
test_set_inheritable (test.test_socket.InheritanceTest) ... ok
test_set_inheritable_cloexec (test.test_socket.InheritanceTest) ... ok
---
http://buildbot.python.org/all/builders/x86%20OpenIndiana%203.5/builds/1159/steps/test/logs/stdio

But not on on Python 3.6:
======================================================================
FAIL: test_get_set_inheritable (test.test_os.FDInheritanceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/test/test_os.py", line 2723, in test_get_set_inheritable
    self.assertEqual(os.get_inheritable(fd), True)
AssertionError: False != True

======================================================================
FAIL: test_openpty (test.test_os.FDInheritanceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/test/test_os.py", line 2796, in test_openpty
    self.assertEqual(os.get_inheritable(master_fd), False)
AssertionError: True != False

======================================================================
FAIL: test_set_inheritable_cloexec (test.test_os.FDInheritanceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/test/test_os.py", line 2747, in test_set_inheritable_cloexec
    0)
AssertionError: 1 != 0

----------------------------------------------------------------------
http://buildbot.python.org/all/builders/x86%20OpenIndiana%203.x/builds/11800/steps/test/logs/stdio
History
Date User Action Args
2016-08-24 09:57:23vstinnersetrecipients: + vstinner
2016-08-24 09:57:23vstinnersetmessageid: <1472032643.28.0.131031350322.issue27847@psf.upfronthosting.co.za>
2016-08-24 09:57:23vstinnerlinkissue27847 messages
2016-08-24 09:57:22vstinnercreate