mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Changed executable name computation in test_venv to allow for debug executables.
This commit is contained in:
parent
b3b49cd1d2
commit
393da3240a
1 changed files with 1 additions and 2 deletions
|
@ -24,13 +24,12 @@ class BaseTest(unittest.TestCase):
|
|||
self.ps3name = 'pysetup3-script.py'
|
||||
self.lib = ('Lib',)
|
||||
self.include = 'Include'
|
||||
self.exe = 'python.exe'
|
||||
else:
|
||||
self.bindir = 'bin'
|
||||
self.ps3name = 'pysetup3'
|
||||
self.lib = ('lib', 'python%s' % sys.version[:3])
|
||||
self.include = 'include'
|
||||
self.exe = 'python'
|
||||
self.exe = os.path.split(sys.executable)[-1]
|
||||
|
||||
def tearDown(self):
|
||||
shutil.rmtree(self.env_dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue