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

Method addError

Tools/unittestgui/unittestgui.py:163–165  ·  view source on GitHub ↗
(self, test, err)

Source from the content-addressed store, hash-verified

161 self.callback = callback
162
163 def addError(self, test, err):
164 unittest.TestResult.addError(self, test, err)
165 self.callback.notifyTestErrored(test, err)
166
167 def addFailure(self, test, err):
168 unittest.TestResult.addFailure(self, test, err)

Callers

nothing calls this directly

Calls 1

notifyTestErroredMethod · 0.45

Tested by

no test coverage detected