Merge branch 'main' of github.com:HolyMagician03-UMich/pytest

This commit is contained in:
HolyMagician03-UMich 2024-04-07 12:49:34 -04:00
commit 10243b79d5
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

@ -2513,8 +2513,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(