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

Method _getfailureheadline

src/_pytest/terminal.py:1057–1061  ·  view source on GitHub ↗
(self, rep)

Source from the content-addressed store, hash-verified

1055 return res + " "
1056
1057 def _getfailureheadline(self, rep):
1058 head_line = rep.head_line
1059 if head_line:
1060 return head_line
1061 return "test session" # XXX?
1062
1063 def _getcrashline(self, rep):
1064 try:

Callers 4

summary_errorsMethod · 0.95
pytest_terminal_summaryFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected