MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_weakref

Method test_weakref

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

Source from the content-addressed store, hash-verified

79 b.extend(b'x'*400)
80
81 def test_weakref(self):
82 s = 'QabbbcR'
83 x = re.compile('ab+c')
84 y = proxy(x)
85 self.assertEqual(x.findall('QabbbcR'), y.findall('QabbbcR'))
86
87 def test_search_star_plus(self):
88 self.assertEqual(re.search('x*', 'axx').span(0), (0, 0))

Callers

nothing calls this directly

Calls 4

proxyFunction · 0.90
compileMethod · 0.45
assertEqualMethod · 0.45
findallMethod · 0.45

Tested by

no test coverage detected