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

Method _make_error_prefix

src/_pytest/python.py:1084–1088  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1082 )
1083
1084 def _make_error_prefix(self) -> str:
1085 if self.nodeid is not None:
1086 return f"In {self.nodeid}: "
1087 else:
1088 return ""
1089
1090
1091@final

Calls

no outgoing calls

Tested by

no test coverage detected