mirror of
https://github.com/python/cpython.git
synced 2026-01-06 23:42:34 +00:00
bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615)
This commit is contained in:
parent
e1abffca45
commit
8464fbc42e
42 changed files with 139 additions and 23 deletions
|
|
@ -79,6 +79,7 @@ def test_architecture(self):
|
|||
res = platform.architecture()
|
||||
|
||||
@os_helper.skip_unless_symlink
|
||||
@support.requires_subprocess()
|
||||
def test_architecture_via_symlink(self): # issue3762
|
||||
with support.PythonSymlink() as py:
|
||||
cmd = "-c", "import platform; print(platform.architecture())"
|
||||
|
|
@ -269,6 +270,7 @@ def test_uname_slices(self):
|
|||
self.assertEqual(res[:5], expected[:5])
|
||||
|
||||
@unittest.skipIf(sys.platform in ['win32', 'OpenVMS'], "uname -p not used")
|
||||
@support.requires_subprocess()
|
||||
def test_uname_processor(self):
|
||||
"""
|
||||
On some systems, the processor must match the output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue