summaryrefslogtreecommitdiff
path: root/version-test.py
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-12-05 20:20:48 +0000
committerCarl Hetherington <cth@carlh.net>2012-12-05 20:20:48 +0000
commitd9c086704e8a23ac2360fd9c0ae1f8a5cd703086 (patch)
tree5a9ea2fb744b77013f3a55495730ee6373827721 /version-test.py
parenta21cd26c3221dd07f8a364b232baafdb93665f95 (diff)
Release script tweaks.
Diffstat (limited to 'version-test.py')
-rw-r--r--version-test.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/version-test.py b/version-test.py
index d5352b55b..47b4159fc 100644
--- a/version-test.py
+++ b/version-test.py
@@ -44,3 +44,9 @@ assert(a.minor == 53)
assert(a.pre == False)
assert(a.beta == None)
assert(str(a) == "0.53")
+
+b = version.Version("1.42beta1")
+assert(b.major == 1)
+assert(b.minor == 42)
+assert(b.pre == False)
+assert(b.beta == 1)