Skip to content

Commit f164c37

Browse files
committed
GH-128690: skip test_init_pyvenv_cfg on shared builds
Signed-off-by: Filipe Laíns <[email protected]
1 parent 553cdc6 commit f164c37

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_embed.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,6 +1608,10 @@ def test_init_pybuilddir_win32(self):
16081608
api=API_COMPAT, env=env,
16091609
ignore_stderr=False, cwd=tmpdir)
16101610

1611+
@unittest.skipIf(
1612+
sysconfig.get_config_var('LDLIBRARY') != sysconfig.get_config_var('LIBRARY'),
1613+
"Test only available when static linking libpython",
1614+
)
16111615
def test_init_pyvenv_cfg(self):
16121616
# Test path configuration with pyvenv.cfg configuration file
16131617

0 commit comments

Comments
 (0)