Fixed the admin_scripts tests to check for the right output with Python 2.4.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2008-07-27 18:25:06 +00:00
parent 4fee39c63c
commit ce15b389c1
1 changed files with 68 additions and 68 deletions

View File

@ -738,7 +738,7 @@ class CommandTypes(AdminScriptTestCase):
"--help is handled as a special case"
args = ['--help']
out, err = self.run_manage(args)
if sys.version_info < (2, 4):
if sys.version_info < (2, 5):
self.assertOutput(out, "usage: manage.py [options]")
else:
self.assertOutput(out, "Usage: manage.py [options]")