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:
parent
4fee39c63c
commit
ce15b389c1
|
@ -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]")
|
||||
|
|
Loading…
Reference in New Issue