mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user