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

Method parse_executed_tests

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

Source from the content-addressed store, hash-verified

604 self.assertRegex(output, regex)
605
606 def parse_executed_tests(self, output):
607 regex = (fr'^{LOG_PREFIX}\[ *[0-9]+(?:/ *[0-9]+)*\] '
608 fr'({self.TESTNAME_REGEX}) {RESULT_REGEX}')
609 parser = re.finditer(regex, output, re.MULTILINE)
610 return list(match.group(1) for match in parser)
611
612 def check_executed_tests(self, output, tests, *, stats,
613 skipped=(), failed=(),

Callers 1

check_executed_testsMethod · 0.95

Calls 3

listClass · 0.85
finditerMethod · 0.80
groupMethod · 0.45

Tested by

no test coverage detected