summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regressiontests/admin_scripts')
-rw-r--r--tests/regressiontests/admin_scripts/tests.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/regressiontests/admin_scripts/tests.py b/tests/regressiontests/admin_scripts/tests.py
index 11bd5c687a..cf0dfc6cc8 100644
--- a/tests/regressiontests/admin_scripts/tests.py
+++ b/tests/regressiontests/admin_scripts/tests.py
@@ -1126,20 +1126,14 @@ class CommandTypes(AdminScriptTestCase):
"--help is handled as a special case"
args = ['--help']
out, err = self.run_manage(args)
- if sys.version_info < (2, 5):
- self.assertOutput(out, "usage: manage.py subcommand [options] [args]")
- else:
- self.assertOutput(out, "Usage: manage.py subcommand [options] [args]")
+ self.assertOutput(out, "Usage: manage.py subcommand [options] [args]")
self.assertOutput(out, "Type 'manage.py help <subcommand>' for help on a specific subcommand.")
def test_short_help(self):
"-h is handled as a short form of --help"
args = ['-h']
out, err = self.run_manage(args)
- if sys.version_info < (2, 5):
- self.assertOutput(out, "usage: manage.py subcommand [options] [args]")
- else:
- self.assertOutput(out, "Usage: manage.py subcommand [options] [args]")
+ self.assertOutput(out, "Usage: manage.py subcommand [options] [args]")
self.assertOutput(out, "Type 'manage.py help <subcommand>' for help on a specific subcommand.")
def test_specific_help(self):