@@ -520,7 +520,7 @@ def test_osx_ext_suffix(self):
520
520
suffix = sysconfig .get_config_var ('EXT_SUFFIX' )
521
521
self .assertTrue (suffix .endswith ('-darwin.so' ), suffix )
522
522
523
- @unittest . skipIf ( sys . platform == 'wasi' , 'venv is unsupported on WASI' )
523
+ @requires_subprocess ( )
524
524
def test_config_vars_depend_on_site_initialization (self ):
525
525
script = textwrap .dedent ("""
526
526
import sysconfig
@@ -544,7 +544,7 @@ def test_config_vars_depend_on_site_initialization(self):
544
544
self .assertEqual (no_site_config_vars ['base' ], site_config_vars ['installed_base' ])
545
545
self .assertEqual (no_site_config_vars ['platbase' ], site_config_vars ['installed_platbase' ])
546
546
547
- @unittest . skipIf ( sys . platform == 'wasi' , 'venv is unsupported on WASI' )
547
+ @requires_subprocess ( )
548
548
def test_config_vars_recalculation_after_site_initialization (self ):
549
549
script = textwrap .dedent ("""
550
550
import sysconfig
@@ -568,7 +568,7 @@ def test_config_vars_recalculation_after_site_initialization(self):
568
568
#self.assertEqual(config_vars['after']['prefix'], venv.prefix) # FIXME: prefix gets overwriten by _init_posix
569
569
#self.assertEqual(config_vars['after']['exec_prefix'], venv.prefix) # FIXME: exec_prefix gets overwriten by _init_posix
570
570
571
- @unittest . skipIf ( sys . platform == 'wasi' , 'venv is unsupported on WASI' )
571
+ @requires_subprocess ( )
572
572
def test_paths_depend_on_site_initialization (self ):
573
573
script = textwrap .dedent ("""
574
574
import sysconfig
0 commit comments