diff --git a/changelog/11777.improvement.rst b/changelog/11777.improvement.rst index f7fc42b67..fb53c63c1 100644 --- a/changelog/11777.improvement.rst +++ b/changelog/11777.improvement.rst @@ -1 +1 @@ -Text is no longer truncated in the ``short test summary info`` section when ``-vv`` is given. \ No newline at end of file +Text is no longer truncated in the ``short test summary info`` section when ``-vv`` is given. diff --git a/testing/test_terminal.py b/testing/test_terminal.py index 9c17708cc..18700d747 100644 --- a/testing/test_terminal.py +++ b/testing/test_terminal.py @@ -2508,8 +2508,16 @@ def test_short_summary_with_verbose(monkeypatch: MonkeyPatch) -> None: # NOTE: constructed, not sure if this is supported. mocked_pos = "nodeid::🉐::withunicode" - check("🉐🉐🉐🉐🉐\n2nd line", 29, "FAILED nodeid::🉐::withunicode - 🉐🉐🉐🉐🉐\n2nd line") - check("🉐🉐🉐🉐🉐\n2nd line", 80, "FAILED nodeid::🉐::withunicode - 🉐🉐🉐🉐🉐\n2nd line") + check( + "🉐🉐🉐🉐🉐\n2nd line", + 29, + "FAILED nodeid::🉐::withunicode - 🉐🉐🉐🉐🉐\n2nd line", + ) + check( + "🉐🉐🉐🉐🉐\n2nd line", + 80, + "FAILED nodeid::🉐::withunicode - 🉐🉐🉐🉐🉐\n2nd line", + ) @pytest.mark.parametrize(