summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-08-26 05:44:02 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-08-26 05:44:02 (GMT)
commit4085f030bdc6245c9983e6c2ecc37d8f2fcd9f44 (patch)
tree2189927e31fc81351f78c929de29ceb1c1f89e6e
parent66cb018c96e49b5e5cf1b8fc395171a223d86d8e (diff)
downloadcpython-4085f030bdc6245c9983e6c2ecc37d8f2fcd9f44.zip
cpython-4085f030bdc6245c9983e6c2ecc37d8f2fcd9f44.tar.gz
cpython-4085f030bdc6245c9983e6c2ecc37d8f2fcd9f44.tar.bz2
Add missing executable option to DummyCommand.
-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)