Commit ebcbbfb9 authored by Victor Stinner's avatar Victor Stinner

Issue #23458: skip test_os.test_urandom_fd_non_inheritable() on Windows

parent e0a0bd6e
...@@ -569,6 +569,8 @@ class URandomTests (unittest.TestCase): ...@@ -569,6 +569,8 @@ class URandomTests (unittest.TestCase):
data2 = self.get_urandom_subprocess(16) data2 = self.get_urandom_subprocess(16)
self.assertNotEqual(data1, data2) 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): def test_urandom_fd_non_inheritable(self):
# Issue #23458: os.urandom() keeps a file descriptor open, but it # Issue #23458: os.urandom() keeps a file descriptor open, but it
# must be non inheritable # must be non inheritable
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment