From 24372bbdb1ee129eb9992f038f1544dd96dafa5b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 7 Apr 2024 14:20:54 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- changelog/11777.improvement.rst | 2 +- testing/test_terminal.py | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) 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(