diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-05-27 18:05:36 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-05-27 18:05:36 (GMT) |
commit | 393da3240a29852c0e1188c6ccd007e89426a887 (patch) | |
tree | 7c5e648fa40426df7342501887102b54ad09e6d5 /Lib/test/test_venv.py | |
parent | b3b49cd1d2498b65ff0ace4c7c9acf3e4475a798 (diff) | |
download | cpython-393da3240a29852c0e1188c6ccd007e89426a887.zip cpython-393da3240a29852c0e1188c6ccd007e89426a887.tar.gz cpython-393da3240a29852c0e1188c6ccd007e89426a887.tar.bz2 |
Changed executable name computation in test_venv to allow for debug executables.
Diffstat (limited to 'Lib/test/test_venv.py')
-rw-r--r-- | Lib/test/test_venv.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_venv.py b/Lib/test/test_venv.py index 108f2cc..08fd1dc 100644 --- a/Lib/test/test_venv.py +++ b/Lib/test/test_venv.py @@ -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) |