From 84b254209fe27ca8d7d2985e02a47019bb9bb232 Mon Sep 17 00:00:00 2001 From: ShaharNaveh <50263213+ShaharNaveh@users.noreply.github.com> Date: Sat, 11 Oct 2025 11:25:51 +0300 Subject: [PATCH] Patch `test_posix.py` --- Lib/test/test_posix.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py index c327d2add..00da4c2c4 100644 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -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)