MCPcopy
hub / github.com/pytest-dev/pytest / addFailure

Method addFailure

src/_pytest/unittest.py:309–312  ·  src/_pytest/unittest.py::TestCaseFunction.addFailure
(
        self, testcase: unittest.TestCase, rawexcinfo: _SysExcInfoType
    )

Source from the content-addressed store, hash-verified

307 self._addexcinfo(rawexcinfo)
308
309 def addFailure(
310 self, testcase: unittest.TestCase, rawexcinfo: _SysExcInfoType
311 ) -> None:
312 self._addexcinfo(rawexcinfo)
313
314 def addSkip(
315 self, testcase: unittest.TestCase, reason: str, *, handle_subtests: bool = True

Callers

nothing calls this directly

Calls 1

_addexcinfoMethod · 0.95

Tested by

no test coverage detected