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

Method pytest_internalerror

src/_pytest/junitxml.py:639–642  ·  src/_pytest/junitxml.py::LogXML.pytest_internalerror
(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(class="st">"internal")
641 reporter.attrs.update(classname=class="st">"pytest", name=class="st">"internal")
642 reporter._add_simple(class="st">"error", class="st">"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