()
| 569 | |
| 570 | |
| 571 | def test_pprint_max_items() -> None: |
| 572 | console = Console(color_system=None) |
| 573 | console.begin_capture() |
| 574 | pprint({"foo": 1, "bar": 2, "egg": 3}, console=console, max_length=2) |
| 575 | assert console.end_capture() == """{'foo': 1, 'bar': 2, ... +1}\n""" |
| 576 | |
| 577 | |
| 578 | def test_pprint_max_string() -> None: |
nothing calls this directly
no test coverage detected