Skip to content

Commit 3c24f44

Browse files
committed
Fix test_embed on Windows
`tmpdir` is a venv, so `prefix` will be set to that value, but `base_prefix` should stay `pyvenv_home`. Signed-off-by: Filipe Laíns <[email protected]>
1 parent 3c1fb29 commit 3c24f44

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/test/test_embed.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1657,7 +1657,6 @@ def test_init_pyvenv_cfg(self):
16571657
}
16581658
if MS_WINDOWS:
16591659
config['base_prefix'] = pyvenv_home
1660-
config['prefix'] = pyvenv_home
16611660
config['stdlib_dir'] = os.path.join(pyvenv_home, 'Lib')
16621661
config['use_frozen_modules'] = bool(not support.Py_DEBUG)
16631662
else:

0 commit comments

Comments
 (0)