Commit 43794514 authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

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
parent c5a76a36
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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