diff options
author | Christian Heimes <christian@python.org> | 2022-03-10 14:43:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 13:43:40 +0100 |
commit | de554d6e02228b840eb6bffaf7d406c0ef368d5f (patch) | |
tree | 8e9cb21338d5fa7b71a3940d6c62c501d0f547a8 /Lib/test/test_tarfile.py | |
parent | 8714b6fa27271035dd6dd3514e283f92d669321d (diff) | |
download | cpython-de554d6e02228b840eb6bffaf7d406c0ef368d5f.tar.gz cpython-de554d6e02228b840eb6bffaf7d406c0ef368d5f.zip |
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.
Diffstat (limited to 'Lib/test/test_tarfile.py')
-rw-r--r-- | Lib/test/test_tarfile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py index 0a67bcb0b09..12850cd635e 100644 --- a/Lib/test/test_tarfile.py +++ b/Lib/test/test_tarfile.py @@ -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. |