mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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:
parent
c2e3c06139
commit
ef1327e3b6
16 changed files with 63 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue