Searched refs:is_subsequence (Results 1 - 2 of 2) sorted by relevance

/pkg/src/modules/
H A Dversion.py108 def is_subsequence(self, other): member in class:DotSequence
213 def is_subsequence(self, other): member in class:MatchingDotSequence
530 if not other.release.is_subsequence(
537 if not other.branch.is_subsequence(self.branch):
552 if not other.release.is_subsequence(
559 if not other.branch.is_subsequence(self.branch):
573 return other.release.is_subsequence(self.release)
582 return other.branch.is_subsequence(self.branch)
/pkg/src/tests/api/
H A Dt_version.py95 self.assertTrue(self.d3.is_subsequence(self.d5))
96 self.assertTrue(not self.d3.is_subsequence(self.d6))
97 self.assertTrue(not self.d1.is_subsequence(self.d6))
98 self.assertTrue(not self.d6.is_subsequence(self.d1))
99 self.assertTrue(not self.d5.is_subsequence(self.d3))

Completed in 353 milliseconds