[Python-checkins] cpython (2.7): Issue #23458: skip test_os.test_urandom_fd_non_inheritable() on Windows
victor.stinner
python-checkins at python.org
Tue Feb 24 15:13:30 CET 2015
https://hg.python.org/cpython/rev/8969c7f44d9e
changeset: 94737:8969c7f44d9e
branch: 2.7
user: Victor Stinner <victor.stinner at gmail.com>
date: Tue Feb 24 15:12:57 2015 +0100
summary:
Issue #23458: skip test_os.test_urandom_fd_non_inheritable() on Windows
files:
Lib/test/test_os.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -569,6 +569,8 @@
data2 = self.get_urandom_subprocess(16)
self.assertNotEqual(data1, data2)
+ # os.urandom() doesn't use a file descriptor on Windows
+ @unittest.skipIf(sys.platform == "win32", "POSIX specific tests")
def test_urandom_fd_non_inheritable(self):
# Issue #23458: os.urandom() keeps a file descriptor open, but it
# must be non inheritable
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list