@@ -591,7 +591,7 @@ def test_osx_ext_suffix(self):
591
591
suffix = sysconfig .get_config_var ('EXT_SUFFIX' )
592
592
self .assertTrue (suffix .endswith ('-darwin.so' ), suffix )
593
593
594
- @unittest . skipIf ( sys . platform == 'wasi' , 'venv is unsupported on WASI' )
594
+ @requires_subprocess ( )
595
595
def test_config_vars_depend_on_site_initialization (self ):
596
596
script = textwrap .dedent ("""
597
597
import sysconfig
@@ -615,7 +615,7 @@ def test_config_vars_depend_on_site_initialization(self):
615
615
self .assertEqual (no_site_config_vars ['base' ], site_config_vars ['installed_base' ])
616
616
self .assertEqual (no_site_config_vars ['platbase' ], site_config_vars ['installed_platbase' ])
617
617
618
- @unittest . skipIf ( sys . platform == 'wasi' , 'venv is unsupported on WASI' )
618
+ @requires_subprocess ( )
619
619
def test_config_vars_recalculation_after_site_initialization (self ):
620
620
script = textwrap .dedent ("""
621
621
import sysconfig
@@ -639,7 +639,7 @@ def test_config_vars_recalculation_after_site_initialization(self):
639
639
#self.assertEqual(config_vars['after']['prefix'], venv.prefix) # FIXME: prefix gets overwriten by _init_posix
640
640
#self.assertEqual(config_vars['after']['exec_prefix'], venv.prefix) # FIXME: exec_prefix gets overwriten by _init_posix
641
641
642
- @unittest . skipIf ( sys . platform == 'wasi' , 'venv is unsupported on WASI' )
642
+ @requires_subprocess ( )
643
643
def test_paths_depend_on_site_initialization (self ):
644
644
script = textwrap .dedent ("""
645
645
import sysconfig
0 commit comments