mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-40280: Skip more tests/features that don't apply to Emscripten (GH-31791)
- fd inheritance can't be modified because Emscripten doesn't support subprocesses anyway. - setpriority always fails - geteuid no longer causes problems with latest emsdk - umask is a stub - geteuid / getuid always return 0, but process cannot chown to random uid.
This commit is contained in:
parent
8714b6fa27
commit
de554d6e02
6 changed files with 28 additions and 9 deletions
|
@ -1498,6 +1498,7 @@ class StreamWriteTest(WriteTestBase, unittest.TestCase):
|
|||
|
||||
@unittest.skipUnless(sys.platform != "win32" and hasattr(os, "umask"),
|
||||
"Missing umask implementation")
|
||||
@unittest.skipIf(support.is_emscripten, "Emscripten's umask is a stub.")
|
||||
def test_file_mode(self):
|
||||
# Test for issue #8464: Create files with correct
|
||||
# permissions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue