mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 10:44:36 +08:00
Patch test_posix.py
This commit is contained in:
1 parent
e18354b990
commit
84b254209f
1 file changed
+1
Vendored
+1
@@ -2074,6 +2074,7 @@ class _PosixSpawnMixin:
|
||||
with open(outfile, encoding="utf-8") as f:
|
||||
self.assertEqual(f.read(), 'hello')
|
||||
|
||||
@unittest.expectedFailure # TODO: RUSTPYTHON; the rust runtime reopens closed stdio fds at startup, so this test fails, even though POSIX_SPAWN_CLOSE does actually have an effect
|
||||
def test_close_file(self):
|
||||
closefile = os_helper.TESTFN
|
||||
self.addCleanup(os_helper.unlink, closefile)
|
||||
|
||||
Reference in new issue
Block a user