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

Method __init__

src/_pytest/pytester.py:1508–1510  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1506
1507class LineComp:
1508 def __init__(self) -> None:
1509 self.stringio = StringIO()
1510 """:class:`python:io.StringIO()` instance used for input."""
1511
1512 def assert_contains_lines(self, lines2: Sequence[str]) -> None:
1513 """Assert that ``lines2`` are contained (linearly) in :attr:`stringio`'s value.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected