Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 437945146db3c72c9ec54b8497ede8ecc8cd0d45 1 parent c5a76a3
Russell Keith-Magee authored July 23, 2008
2  tests/regressiontests/admin_scripts/tests.py
@@ -53,7 +53,7 @@ def run_test(self, script, args, settings_file=None, apps=None):
53 53
         base_dir = os.path.dirname(project_dir)
54 54
         
55 55
         # Build the command line
56  
-        cmd = 'python "%s"' % script
  56
+        cmd = '%s "%s"' % (sys.executable, script)
57 57
         cmd += ''.join([' %s' % arg for arg in args])
58 58
         
59 59
         # Remember the old environment

0 notes on commit 4379451

Please sign in to comment.
Something went wrong with that request. Please try again.