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

Method parse_executed_tests

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

Source from the content-addressed store, hash-verified

642 self.assertRegex(output, regex)
643
644 def parse_executed_tests(self, output):
645 regex = (fr'^{LOG_PREFIX}\[ *[0-9]+(?:/ *[0-9]+)*\] '
646 fr'({self.TESTNAME_REGEX}) {RESULT_REGEX}')
647 parser = re.finditer(regex, output, re.MULTILINE)
648 return list(match.group(1) for match in parser)
649
650 def check_executed_tests(self, output, tests, *, stats,
651 skipped=(), failed=(),

Callers 1

check_executed_testsMethod · 0.95

Calls 2

listClass · 0.85
groupMethod · 0.45

Tested by

no test coverage detected