mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -1,7 +1,7 @@
|
|||
# -*- coding: koi8-r -*-
|
||||
|
||||
import unittest
|
||||
from test.support import script_helper, captured_stdout
|
||||
from test.support import script_helper, captured_stdout, requires_subprocess
|
||||
from test.support.os_helper import TESTFN, unlink, rmtree
|
||||
from test.support.import_helper import unload
|
||||
import importlib
|
||||
|
@ -65,6 +65,7 @@ class MiscSourceEncodingTest(unittest.TestCase):
|
|||
# two bytes in common with the UTF-8 BOM
|
||||
self.assertRaises(SyntaxError, eval, b'\xef\xbb\x20')
|
||||
|
||||
@requires_subprocess()
|
||||
def test_20731(self):
|
||||
sub = subprocess.Popen([sys.executable,
|
||||
os.path.join(os.path.dirname(__file__),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue