Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 437945146db3c72c9ec54b8497ede8ecc8cd0d45 1 parent c5a76a3
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/regressiontests/admin_scripts/
2  tests/regressiontests/admin_scripts/
@@ -53,7 +53,7 @@ def run_test(self, script, args, settings_file=None, apps=None):
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
Please sign in to comment.
Something went wrong with that request. Please try again.