Skip to content

Commit 6b0c452

Browse files
committed
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.
1 parent e0245c7 commit 6b0c452

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_netrc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ def test_security_on_WASI(self):
273273

274274
@unittest.skipUnless(os.name == 'posix', 'POSIX only test')
275275
@unittest.skipUnless(hasattr(os, 'getuid'), "os.getuid is required")
276+
@unittest.skipIf(support.is_emscripten, "Doesn't work")
276277
@os_helper.skip_unless_working_chmod
277278
def test_security(self):
278279
# This test is incomplete since we are normally not run as root and

0 commit comments

Comments
 (0)