def test_full_sequence_print_with_vv(
    monkeypatch: MonkeyPatch, pytester: Pytester
) -> None:
    """Do not truncate sequences in summaries with -vv (#11777)."""
    monkeypatch.setattr(_pytest.terminal, "running_on_ci", lambda: False)

    pytester.makepyfile(
        """
        def test_len_list():
            l = list(range(10))
            assert len(l) == 9

        def test_len_dict():
            d = dict(zip(range(10), range(10)))
            assert len(d) == 9
        """
    )

    result = pytester.runpytest("-vv")
    assert result.ret == 1
    result.stdout.fnmatch_lines(
        [
            "*short test summary info*",
            f"*{list(range(10))}*",
            f"*{dict(zip(range(10), range(10)))}*",
        ]
    )
Do not truncate sequences in summaries with -vv (#11777).
testing/test_terminal.py