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

Method __str__

src/_pytest/pytester.py:1586–1592  ·  src/_pytest/pytester.py::LineMatcher.__str__

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

1584 self._log_output: list[str] = []
1585
1586 def __str__(self) -> str:
1587 class="st">"""Return the entire original text.
1588
1589 .. versionadded:: 6.2
1590 You can use :meth:`str` in older versions.
1591 class="st">"""
1592 return class="st">"\n".join(self.lines)
1593
1594 def _getlines(self, lines2: str | Sequence[str] | Source) -> Sequence[str]:
1595 if isinstance(lines2, str):

Callers

nothing calls this directly

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected