mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user