| 1 |
# run the `cheetah` command with the interpreter used to run this test file |
| 2 |
--- a/Cheetah/Tests/CheetahWrapper.py |
| 3 |
+++ b/Cheetah/Tests/CheetahWrapper.py |
| 4 |
@@ -69,7 +69,7 @@ |
| 5 |
"""Create the top-level directories, subdirectories and .tmpl |
| 6 |
files. |
| 7 |
""" |
| 8 |
- self.cmd = self.locate_cheetah('cheetah') |
| 9 |
+ self.cmd = sys.executable + " " + self.locate_cheetah('cheetah') |
| 10 |
cwd = os.getcwd() |
| 11 |
if not os.environ.get('PYTHONPATH'): |
| 12 |
os.environ['PYTHONPATH'] = cwd |
| 13 |
@@ -563,7 +563,7 @@ |
| 14 |
"""Create the top-level directories and .tmpl |
| 15 |
files. |
| 16 |
""" |
| 17 |
- self.cmd = self.locate_cheetah('cheetah') |
| 18 |
+ self.cmd = sys.executable + " " + self.locate_cheetah('cheetah') |
| 19 |
cwd = os.getcwd() |
| 20 |
if not os.environ.get('PYTHONPATH'): |
| 21 |
os.environ['PYTHONPATH'] = cwd |