Searched refs:bump_num (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_re.py | 45 def bump_num(self, matchobj): member in ReTests 51 self.assertEqual(re.sub(r'\d+', self.bump_num, '08.2 -2 23x99y'), 53 self.assertEqual(re.sub(r'\d+', self.bump_num, '08.2 -2 23x99y', 3),
|
/external/python/cpython3/Lib/test/ |
D | test_re.py | 86 def bump_num(self, matchobj): member in ReTests 101 self.assertEqual(re.sub(r'\d+', self.bump_num, '08.2 -2 23x99y'), 103 self.assertEqual(re.sub(r'\d+', self.bump_num, '08.2 -2 23x99y', 3), 105 self.assertEqual(re.sub(r'\d+', self.bump_num, '08.2 -2 23x99y', count=3),
|