Skip to content

Commit de4ee79

Browse files
committed
Py3.11: New exception format
1 parent dc167ee commit de4ee79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_log_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ def emit(self, record):
4545
::warning::a warning message
4646
::error::an error message
4747
::error::an error message
48-
::error::an exception%0ATraceback (most recent call last):%0A File "foo.py", line 42, in test__github_formatter%0A 0 / 0%0AZeroDivisionError: division by zero""".strip()
48+
::error::an exception%0ATraceback (most recent call last):%0A File "foo.py", line 42, in test__github_formatter%0A 0 / 0%0A ~~^~~%0AZeroDivisionError: division by zero""".strip()
4949

5050
assert logs == expected

0 commit comments

Comments
 (0)