Skip to main content

Source code Changes To

pkg-gate / src / tests / api / t_version.py

From revision 2955 to 2958:

diff -r 796cde775790 -r 868e07939116 src/tests/api/t_version.py
--- a/src/tests/api/t_version.py	Fri Sep 27 10:19:27 2013 +1200
+++ b/src/tests/api/t_version.py	Fri Sep 27 11:38:34 2013 -0700
@@ -196,7 +196,7 @@
                 """ insert a bad char at (almost) every position in a version"""
                 v = "12.34.56-78:19760113T111111Z"
                 # Check that v is valid
-                version.Version(v, "5.11")
+                version.Version(v)
                 badchars = [ "T", "Z", "@", "-", ".", ",", ":" ]
                 becareful = [".", ",", "-"]
                 for b in badchars:
@@ -259,12 +259,6 @@
                 self.assert_(None != self.v9)
                 self.assert_(not self.v9 != self.v9same)
 
-        def testversionbuildcompat1(self):
-                self.assert_(not self.v9.compatible_with_build(self.d3))
-
-        def testversionbuildcompat2(self):
-                self.assert_(self.v9.compatible_with_build(self.d4))
-
         def testversionsuccessor1(self):
                 self.assert_(self.v13.is_successor(self.v12,
                     version.CONSTRAINT_BRANCH))

 
 
Close
loading
Please Confirm
Close