Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
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
)
407
def
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
PrettyPrinter
Class · 0.90
pformat
Method · 0.80
strip
Method · 0.80
Tested by
no test coverage detected