Changed executable name computation in test_venv to allow for debug executables.

This commit is contained in:
Vinay Sajip 2012-05-27 19:05:36 +01:00
parent b3b49cd1d2
commit 393da3240a
1 changed files with 1 additions and 2 deletions

View File

@ -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)