gh-127146: Skip test_netrc.test_security on Emscripten#136227
gh-127146: Skip test_netrc.test_security on Emscripten#136227hoodmane wants to merge 1 commit intopython:mainfrom
Conversation
Before python#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.
|
Is this failing because of https://github.com/python/cpython/blob/main/Lib/netrc.py#L10C5-L12 (from gh-135815)? This test is validating the security check is working right (added in gh-59189). Worried about disabling a test for a security check rather than just disabling the module (or fixing the security check). |
I'm not 100% sure about this. Unlike WASI, Emscripten reliably has My immediate guess is that the That said - it's interesting that this failure is also occurring with a file mode, which is similar to the failure reported as #135783 (although it's a very different issue). That might be complete coincidence... but it's an interesting simliarity. |
|
Closed in favor of #136509. |
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.