Skip to content

Commit 393da32

Browse files
committed
Changed executable name computation in test_venv to allow for debug executables.
1 parent b3b49cd commit 393da32

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_venv.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@ def setUp(self):
2424
self.ps3name = 'pysetup3-script.py'
2525
self.lib = ('Lib',)
2626
self.include = 'Include'
27-
self.exe = 'python.exe'
2827
else:
2928
self.bindir = 'bin'
3029
self.ps3name = 'pysetup3'
3130
self.lib = ('lib', 'python%s' % sys.version[:3])
3231
self.include = 'include'
33-
self.exe = 'python'
32+
self.exe = os.path.split(sys.executable)[-1]
3433

3534
def tearDown(self):
3635
shutil.rmtree(self.env_dir)

0 commit comments

Comments
 (0)