bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615)

This commit is contained in:
Christian Heimes 2022-01-25 09:09:06 +02:00 committed by GitHub
parent e1abffca45
commit 8464fbc42e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 139 additions and 23 deletions

View file

@ -61,6 +61,9 @@ class TestPgen2Caching(support.TestCase):
shutil.rmtree(tmpdir)
@unittest.skipIf(sys.executable is None, 'sys.executable required')
@unittest.skipIf(
sys.platform == 'emscripten', 'requires working subprocess'
)
def test_load_grammar_from_subprocess(self):
tmpdir = tempfile.mkdtemp()
tmpsubdir = os.path.join(tmpdir, 'subdir')