bpo-40280: Skip more tests on Emscripten (GH-31947)

- lchmod, lchown are not fully implemented
- skip umask tests
- cannot fstat unlinked or renamed files yet
- ignore musl libc issues that affect Emscripten
This commit is contained in:
Christian Heimes 2022-03-17 13:09:57 +02:00 committed by GitHub
parent c2e3c06139
commit ef1327e3b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 63 additions and 8 deletions

View file

@ -5,6 +5,7 @@ from textwrap import dedent
import unittest
import time
from test import support
from test.support import import_helper
_interpreters = import_helper.import_module('_xxsubinterpreters')
from test.support import interpreters
@ -408,7 +409,7 @@ class TestInterpreterRun(TestBase):
self.assertEqual(out, 'it worked!')
@unittest.skipUnless(hasattr(os, 'fork'), "test needs os.fork()")
@support.requires_fork()
def test_fork(self):
interp = interpreters.create()
import tempfile