diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py index 7110fb889f3c8e..526dc17d5e5d7d 100644 --- a/Lib/test/test_embed.py +++ b/Lib/test/test_embed.py @@ -1608,6 +1608,10 @@ def test_init_pybuilddir_win32(self): api=API_COMPAT, env=env, ignore_stderr=False, cwd=tmpdir) + @unittest.skipIf( + sysconfig.get_config_var('LDLIBRARY') != sysconfig.get_config_var('LIBRARY'), + "Test only available when static linking libpython", + ) def test_init_pyvenv_cfg(self): # Test path configuration with pyvenv.cfg configuration file