Ready for 0.5.0 development

This commit is contained in:
Stein Magnus Jodal 2011-04-27 00:20:08 +02:00
parent 8df4505b97
commit 50aef50989
2 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@ if not (2, 6) <= sys.version_info < (3,):
from subprocess import PIPE, Popen
VERSION = (0, 4, 0)
VERSION = (0, 5, 0)
def get_version():
try:

View File

@ -17,8 +17,9 @@ class VersionTest(unittest.TestCase):
self.assert_(SV('0.1.0') < SV('1.0.0'))
self.assert_(SV('0.2.0') < SV('0.3.0'))
self.assert_(SV('0.3.0') < SV('0.3.1'))
self.assert_(SV('0.3.1') < SV(get_plain_version()))
self.assert_(SV(get_plain_version()) < SV('0.4.1'))
self.assert_(SV('0.3.1') < SV('0.4.0'))
self.assert_(SV('0.4.0') < SV(get_plain_version()))
self.assert_(SV(get_plain_version()) < SV('0.5.1'))
def test_get_platform_contains_platform(self):
self.assert_(platform.platform() in get_platform())