]> granicus.if.org Git - python/commit
Issue #23458: Remove test_os.test_urandom_fd_non_inheritable()
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 6 Apr 2015 21:39:47 +0000 (23:39 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 6 Apr 2015 21:39:47 +0000 (23:39 +0200)
commit62b109ddc5df491709a50e593d5ab31b1c85e815
treea264c11bd85311a32c5460fcd42330f1e338f5ad
parent9c5a8d4e232ac3a39638312b264e75a8a11923f0
Issue #23458: Remove test_os.test_urandom_fd_non_inheritable()

os.urandom() only tries to make the os.random() file descriptor non
inheritable, but there is no guarantee. The test fails on too many operating
systems: Windows, OS X 10.5, OpenIndiana.

This issue is correctly fixed in Python 3.4 with the PEP 446. Upgrade to Python
3.4 is you need stronger guarantees.
Lib/test/subprocessdata/fd_status.py [deleted file]
Lib/test/test_os.py