(self)
| 1670 | self.assertEqual(rem,'') |
| 1671 | |
| 1672 | def test_bug_448951(self): |
| 1673 | # bug 448951 (similar to 429357, but with single char match) |
| 1674 | # (Also test greedy matches.) |
| 1675 | for op in '','?','*': |
| 1676 | self.assertEqual(re.match(r'((.%s):)?z'%op, 'z').groups(), |
| 1677 | (None, None)) |
| 1678 | self.assertEqual(re.match(r'((.%s):)?z'%op, 'a:z').groups(), |
| 1679 | ('a:', 'a')) |
| 1680 | |
| 1681 | def test_bug_725106(self): |
| 1682 | # capturing groups in alternatives in repeats |
nothing calls this directly
no test coverage detected