From: Martin v. Löwis Date: Thu, 26 Aug 2004 05:44:02 +0000 (+0000) Subject: Add missing executable option to DummyCommand. X-Git-Tag: v2.4a3~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4085f030bdc6245c9983e6c2ecc37d8f2fcd9f44;p=python Add missing executable option to DummyCommand. --- diff --git a/Lib/distutils/tests/test_build_scripts.py b/Lib/distutils/tests/test_build_scripts.py index bf25b38222..666ca44c1d 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)