[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-04-07 14:20:54 +00:00
parent 14bf4974b5
commit 24372bbdb1
2 changed files with 11 additions and 3 deletions

View File

@ -1 +1 @@
Text is no longer truncated in the ``short test summary info`` section when ``-vv`` is given.
Text is no longer truncated in the ``short test summary info`` section when ``-vv`` is given.

View File

@ -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(