diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2008-07-23 03:00:50 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2008-07-23 03:00:50 +0000 |
| commit | 437945146db3c72c9ec54b8497ede8ecc8cd0d45 (patch) | |
| tree | 6f46b08e4a48e8ddc17ce5d89af03f2151741a50 /tests/regressiontests/admin_scripts/tests.py | |
| parent | c5a76a366970dc1305bb638ed6bd070d0a86376c (diff) | |
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
Diffstat (limited to 'tests/regressiontests/admin_scripts/tests.py')
| -rw-r--r-- | tests/regressiontests/admin_scripts/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/admin_scripts/tests.py b/tests/regressiontests/admin_scripts/tests.py index b048048d69..7518a1d960 100644 --- a/tests/regressiontests/admin_scripts/tests.py +++ b/tests/regressiontests/admin_scripts/tests.py @@ -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 |
