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

Method pytest_internalerror

src/_pytest/junitxml.py:639–642  ·  view source on GitHub ↗
(self, excrepr: ExceptionRepr)

Source from the content-addressed store, hash-verified

637 reporter.append_collect_skipped(report)
638
639 def pytest_internalerror(self, excrepr: ExceptionRepr) -> None:
640 reporter = self.node_reporter("internal")
641 reporter.attrs.update(classname="pytest", name="internal")
642 reporter._add_simple("error", "internal error", str(excrepr))
643
644 def pytest_sessionstart(self) -> None:
645 self.suite_start = timing.Instant()

Callers 1

notify_exceptionMethod · 0.45

Calls 3

node_reporterMethod · 0.95
updateMethod · 0.80
_add_simpleMethod · 0.80

Tested by

no test coverage detected