From 6b0c4521f5d044ba05709e17add11bbe11c20f27 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Thu, 3 Jul 2025 10:19:56 +0200 Subject: [PATCH] gh-127146: Skip test_netrc.test_security on Emscripten Before #135816 it was skipped because pwd is missing on Emscripten. Now it isn't skipped because the test no longer requires pwd but it still doesn't work on Emscripten. --- Lib/test/test_netrc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_netrc.py b/Lib/test/test_netrc.py index 9d720f627102e3..41d4471d1b465c 100644 --- a/Lib/test/test_netrc.py +++ b/Lib/test/test_netrc.py @@ -273,6 +273,7 @@ def test_security_on_WASI(self): @unittest.skipUnless(os.name == 'posix', 'POSIX only test') @unittest.skipUnless(hasattr(os, 'getuid'), "os.getuid is required") + @unittest.skipIf(support.is_emscripten, "Doesn't work") @os_helper.skip_unless_working_chmod def test_security(self): # This test is incomplete since we are normally not run as root and pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy