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

Method parse_methods

Lib/test/test_regrtest.py:1392–1394  ·  view source on GitHub ↗
(self, output)

Source from the content-addressed store, hash-verified

1390 parallel=True, stats=0)
1391
1392 def parse_methods(self, output):
1393 regex = re.compile("^(test[^ ]+).*ok$", flags=re.MULTILINE)
1394 return [match.group(1) for match in regex.finditer(output)]
1395
1396 def test_ignorefile(self):
1397 code = textwrap.dedent("""

Callers 2

test_ignorefileMethod · 0.95
test_matchfileMethod · 0.95

Calls 3

finditerMethod · 0.80
compileMethod · 0.45
groupMethod · 0.45

Tested by

no test coverage detected