mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-84461: Fix Emscripten umask and permission issues (GH-94002)
- Emscripten's default umask is too strict, see https://github.com/emscripten-core/emscripten/issues/17269 - getuid/getgid and geteuid/getegid are stubs that always return 0 (root). Disable effective uid/gid syscalls and fix tests that use chmod() current user. - Cannot drop X bit from directory.
This commit is contained in:
parent
476d302508
commit
2702e408fd
4 changed files with 23 additions and 0 deletions
|
@ -934,6 +934,7 @@ class PydocImportTest(PydocBaseTest):
|
|||
self.assertEqual(err.getvalue(), '')
|
||||
|
||||
@os_helper.skip_unless_working_chmod
|
||||
@unittest.skipIf(is_emscripten, "cannot remove x bit")
|
||||
def test_apropos_empty_doc(self):
|
||||
pkgdir = os.path.join(TESTFN, 'walkpkg')
|
||||
os.mkdir(pkgdir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue