1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

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
This commit is contained in:
Aymeric Augustin
2012-01-08 15:05:15 +00:00
parent aa4e152296
commit 40f0ecc56a
7 changed files with 56 additions and 32 deletions

View File

@@ -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"