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

Method pytest_internalerror

src/_pytest/terminal.py:580–583  ·  view source on GitHub ↗
(self, excrepr: ExceptionRepr)

Source from the content-addressed store, hash-verified

578 self._set_main_color()
579
580 def pytest_internalerror(self, excrepr: ExceptionRepr) -> bool:
581 for line in str(excrepr).split("\n"):
582 self.write_line("INTERNALERROR> " + line)
583 return True
584
585 def pytest_warning_recorded(
586 self,

Callers 1

test_internalerrorMethod · 0.95

Calls 1

write_lineMethod · 0.95

Tested by 1

test_internalerrorMethod · 0.76