summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-01-08 15:05:15 +0000
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-01-08 15:05:15 +0000
commit40f0ecc56a23d35c2849f8e79276f6d8931412d1 (patch)
treec87596d06178c360f77213e1ab5fc465e76b0998 /tests/regressiontests/admin_scripts
parentaa4e1522968b19499801fe3d73d6b2f3bf3b3acd (diff)
Implemented PEP386-compatible version numbers. Thanks Jannis for the guidance.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/admin_scripts')
-rw-r--r--tests/regressiontests/admin_scripts/tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/regressiontests/admin_scripts/tests.py b/tests/regressiontests/admin_scripts/tests.py
index 948eb3a659..0a7c56c86e 100644
--- a/tests/regressiontests/admin_scripts/tests.py
+++ b/tests/regressiontests/admin_scripts/tests.py
@@ -1177,8 +1177,7 @@ class CommandTypes(AdminScriptTestCase):
args = ['--version']
out, err = self.run_manage(args)
self.assertNoOutput(err)
- # Only check the first part of the version number
- self.assertOutput(out, get_version().split('-')[0])
+ self.assertOutput(out, get_version())
def test_help(self):
"--help is handled as a special case"