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

Function test_consistent_pretty_printer

testing/io/test_pprint.py:407–408  ·  testing/io/test_pprint.py::test_consistent_pretty_printer
(data: Any, expected: str)

Source from the content-addressed store, hash-verified

405 ),
406)
407def test_consistent_pretty_printer(data: Any, expected: str) -> None:
408 assert PrettyPrinter().pformat(data) == textwrap.dedent(expected).strip()

Callers

nothing calls this directly

Calls 3

PrettyPrinterClass · 0.90
pformatMethod · 0.80
stripMethod · 0.80

Tested by

no test coverage detected