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

Class ReprLocals

src/_pytest/_code/code.py:1507–1514  ·  view source on GitHub ↗

Function local variables (pre-formatted).

Source from the content-addressed store, hash-verified

1505
1506@dataclasses.dataclass(eq=False)
1507class ReprLocals(TerminalRepr):
1508 """Function local variables (pre-formatted)."""
1509
1510 lines: Sequence[str]
1511
1512 def toterminal(self, tw: TerminalWriter, indent: str = "") -> None:
1513 for line in self.lines:
1514 tw.line(indent + line)
1515
1516
1517@dataclasses.dataclass(eq=False)

Callers 2

deserialize_repr_entryFunction · 0.90
repr_localsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected