mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
os: Fix openpty test
Make openpty return non-inheritable file descriptors
This commit is contained in:
@@ -3616,8 +3616,6 @@ class FDInheritanceTests(unittest.TestCase):
|
||||
self.assertEqual(os.dup2(fd, fd3, inheritable=False), fd3)
|
||||
self.assertFalse(os.get_inheritable(fd3))
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
@unittest.skipUnless(hasattr(os, 'openpty'), "need os.openpty()")
|
||||
def test_openpty(self):
|
||||
master_fd, slave_fd = os.openpty()
|
||||
|
||||
Reference in New Issue
Block a user