MCPcopy Index your code
hub / github.com/python/cpython / test_bug_725149

Method test_bug_725149

Lib/test/test_re.py:1700–1705  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1698 ('b', None))
1699
1700 def test_bug_725149(self):
1701 # mark_stack_base restoring before restoring marks
1702 self.assertEqual(re.match('(a)(?:(?=(b)*)c)*', 'abb').groups(),
1703 ('a', None))
1704 self.assertEqual(re.match('(a)((?!(b)*))*', 'abb').groups(),
1705 ('a', None, None))
1706
1707 def test_bug_764548(self):
1708 # bug 764548, re.compile() barfs on str/unicode subclasses

Callers

nothing calls this directly

Calls 3

assertEqualMethod · 0.45
groupsMethod · 0.45
matchMethod · 0.45

Tested by

no test coverage detected