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

Method startTest

Lib/test/libregrtest/testresult.py:45–49  ·  view source on GitHub ↗
(self, test)

Source from the content-addressed store, hash-verified

43 return repr(test)
44
45 def startTest(self, test):
46 super().startTest(test)
47 if self.USE_XML:
48 self.__e = e = self.__ET.SubElement(self.__suite, 'testcase')
49 self.__start_time = time.perf_counter()
50
51 def _add_result(self, test, capture=False, **args):
52 if not self.USE_XML:

Callers 1

runMethod · 0.45

Calls 1

superClass · 0.85

Tested by

no test coverage detected