summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-09-11 07:51:23 (GMT)
committerGitHub <noreply@github.com>2022-09-11 07:51:23 (GMT)
commit1fc8bd3710670982bc7ce91a34d8cd4bcdf88b9a (patch)
tree52502698fb8a5a646da105f8b8a8a09d42ee45b7 /Lib
parent8d75a13fdece95ddc1bba42cad3aea3ccb396e05 (diff)
downloadcpython-1fc8bd3710670982bc7ce91a34d8cd4bcdf88b9a.zip
cpython-1fc8bd3710670982bc7ce91a34d8cd4bcdf88b9a.tar.gz
cpython-1fc8bd3710670982bc7ce91a34d8cd4bcdf88b9a.tar.bz2
gh-95853: Multiple ops and debug for wasm_build.py (#96744)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/tests/test_sysconfig.py1
-rw-r--r--Lib/test/test_sysconfig.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/tests/test_sysconfig.py b/Lib/distutils/tests/test_sysconfig.py
index 8f9f72f..ae0eca8 100644
--- a/Lib/distutils/tests/test_sysconfig.py
+++ b/Lib/distutils/tests/test_sysconfig.py
@@ -48,6 +48,7 @@ class SysconfigTestCase(support.EnvironGuard, unittest.TestCase):
self.assertIsInstance(cvars, dict)
self.assertTrue(cvars)
+ @unittest.skipIf(is_wasi, "Incompatible with WASI mapdir and OOT builds")
def test_srcdir(self):
# See Issues #15322, #15364.
srcdir = sysconfig.get_config_var('srcdir')
diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py
index 114e144..b6dbf3d 100644
--- a/Lib/test/test_sysconfig.py
+++ b/Lib/test/test_sysconfig.py
@@ -438,6 +438,7 @@ class TestSysConfig(unittest.TestCase):
self.assertEqual(status, 0)
self.assertEqual(my_platform, test_platform)
+ @unittest.skipIf(is_wasi, "Incompatible with WASI mapdir and OOT builds")
def test_srcdir(self):
# See Issues #15322, #15364.
srcdir = sysconfig.get_config_var('srcdir')