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 | 85 def bump_num(self, matchobj): member in ReTests 100 self.assertEqual(re.sub(r'\d+', self.bump_num, '08.2 -2 23x99y'), 102 self.assertEqual(re.sub(r'\d+', self.bump_num, '08.2 -2 23x99y', 3), 104 self.assertEqual(re.sub(r'\d+', self.bump_num, '08.2 -2 23x99y', count=3),
|