From e2bd63801dfd4c7bd406d452ad58bd2389680188 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Fri, 20 Jun 2025 23:06:59 -0700 Subject: [PATCH] gh-127146: Skip test_os.test_mode for Emscripten (GH-135764) Temporarily skip test_os.test_mode on Emscripten; this fails consistently on the buildbot, but not on other test configurations. Reported as GH-135783 for follow up. (cherry picked from commit f4911258a80409cb641f13578137475204ab43b5) Co-authored-by: Hood Chatham --- Lib/test/test_os.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 8f56b4559f46c6..5217037ae9d812 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -1918,6 +1918,10 @@ def test_makedir(self): support.is_wasi, "WASI's umask is a stub." ) + @unittest.skipIf( + support.is_emscripten, + "TODO: Fails in buildbot; see #135783" + ) def test_mode(self): with os_helper.temp_umask(0o002): base = os_helper.TESTFN