Kaydet (Commit) 43794514 authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

Fixed #7906 -- Modified admin_scripts regression test to use the same python…

Fixed #7906 -- Modified admin_scripts regression test to use the same python executable that is running the test suite, rather than using 'python' on the path. Thanks to Chris Hasenpflug for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst c5a76a36
......@@ -53,7 +53,7 @@ class AdminScriptTestCase(unittest.TestCase):
base_dir = os.path.dirname(project_dir)
# Build the command line
cmd = 'python "%s"' % script
cmd = '%s "%s"' % (sys.executable, script)
cmd += ''.join([' %s' % arg for arg in args])
# Remember the old environment
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment