We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa201f3 commit f59a8d1Copy full SHA for f59a8d1
testing/code/test_excinfo.py
@@ -1736,6 +1736,7 @@ def test_multiple() -> None:
1736
)
1737
result = pytester.runpytest("-vv")
1738
assert result.ret == 1
1739
+ backport_str = "exceptiongroup." if sys.version_info < (3, 11) else ""
1740
result.stdout.fnmatch_lines(
1741
[
1742
"*= short test summary info =*",
@@ -1753,7 +1754,7 @@ def test_multiple() -> None:
1753
1754
),
1755
(
1756
"FAILED test_exceptiongroup_short_summary_info.py::test_multiple - "
- "ExceptionGroup: bbbbbbbbbb (2 sub-exceptions)"
1757
+ f"{backport_str}ExceptionGroup: bbbbbbbbbb (2 sub-exceptions)"
1758
1759
"*= 4 failed in *",
1760
]
0 commit comments