MCPcopy Create free account
hub / github.com/pytest-dev/pytest / __str__

Method __str__

src/_pytest/pytester.py:1539–1545  ·  view source on GitHub ↗

Return the entire original text. .. versionadded:: 6.2 You can use :meth:`str` in older versions.

(self)

Source from the content-addressed store, hash-verified

1537 self._log_output: List[str] = []
1538
1539 def __str__(self) -> str:
1540 """Return the entire original text.
1541
1542 .. versionadded:: 6.2
1543 You can use :meth:`str` in older versions.
1544 """
1545 return "\n".join(self.lines)
1546
1547 def _getlines(self, lines2: Union[str, Sequence[str], Source]) -> Sequence[str]:
1548 if isinstance(lines2, str):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected