From 40f0ecc56a23d35c2849f8e79276f6d8931412d1 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 8 Jan 2012 15:05:15 +0000 Subject: 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 --- tests/regressiontests/admin_scripts/tests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/regressiontests/admin_scripts') 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" -- cgit v1.3