summaryrefslogtreecommitdiffstats
path: root/pym/portage/tests/versions/test_vercmp.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/tests/versions/test_vercmp.py')
-rw-r--r--pym/portage/tests/versions/test_vercmp.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pym/portage/tests/versions/test_vercmp.py b/pym/portage/tests/versions/test_vercmp.py
index 9de3344ce..eb2ba3eb0 100644
--- a/pym/portage/tests/versions/test_vercmp.py
+++ b/pym/portage/tests/versions/test_vercmp.py
@@ -18,11 +18,11 @@ class VerCmpTestCase(TestCase):
("cvs.9999", "9999"),
("999999999999999999999999999999", "999999999999999999999999999998"),
("1.0.0", "1.0"),
- ("1.0b", "1.0.0"),
+ ("1.0.0", "1.0b"),
("1b", "1"),
("1b_p1", "1_p1"),
("1.1b", "1.1"),
- ("12.2b", "12.2.5"),
+ ("12.2.5", "12.2b"),
]
for test in tests:
self.failIf( vercmp( test[0], test[1] ) <= 0, msg="%s < %s? Wrong!" % (test[0],test[1]) )
@@ -41,11 +41,11 @@ class VerCmpTestCase(TestCase):
("1.0-r0", "1.0-r1"),
("1.0", "1.0-r1"),
("1.0", "1.0.0"),
- ("1.0.0", "1.0b"),
+ ("1.0b", "1.0.0"),
("1_p1", "1b_p1"),
("1", "1b"),
("1.1", "1.1b"),
- ("12.2.5", "12.2b"),
+ ("12.2b", "12.2.5"),
]
for test in tests:
self.failIf( vercmp( test[0], test[1]) >= 0, msg="%s > %s? Wrong!" % (test[0],test[1]))