File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ def test_prompt(self):
208
208
def test_upgrade_dependencies (self ):
209
209
builder = venv .EnvBuilder ()
210
210
bin_path = 'Scripts' if sys .platform == 'win32' else 'bin'
211
- python_exe_realpath = os .path .realpath (sys .executable )
211
+ python_exe_realpath = os .path .realpath (sys ._base_executable )
212
212
python_exe = os .path .split (python_exe_realpath )[1 ]
213
213
with tempfile .TemporaryDirectory () as fake_env_dir :
214
214
expect_exe = os .path .normcase (
@@ -553,7 +553,7 @@ def test_zippath_from_non_installed_posix(self):
553
553
self .addCleanup (rmtree , non_installed_dir )
554
554
bindir = os .path .join (non_installed_dir , self .bindir )
555
555
os .mkdir (bindir )
556
- python_exe_realpath = os .path .realpath (sys .executable )
556
+ python_exe_realpath = os .path .realpath (sys ._base_executable )
557
557
shutil .copy2 (python_exe_realpath , bindir )
558
558
libdir = os .path .join (non_installed_dir , platlibdir , self .lib [1 ])
559
559
os .makedirs (libdir )
You can’t perform that action at this time.
0 commit comments