summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/tests/test_build_scripts.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_build_scripts.py b/Lib/distutils/tests/test_build_scripts.py
index bf25b38..666ca44 100644
--- a/Lib/distutils/tests/test_build_scripts.py
+++ b/Lib/distutils/tests/test_build_scripts.py
@@ -39,11 +39,13 @@ class BuildScriptsTestCase(support.TempdirManager,
self.assert_(name in built)
def get_build_scripts_cmd(self, target, scripts):
+ import sys
dist = Distribution()
dist.scripts = scripts
dist.command_obj["build"] = support.DummyCommand(
build_scripts=target,
- force=1
+ force=1,
+ executable=sys.executable
)
return build_scripts(dist)