Skip to content

Commit

Permalink
Py3.11: New exception format
Browse files Browse the repository at this point in the history
  • Loading branch information
ewjoachim committed Aug 3, 2023
1 parent dc167ee commit de4ee79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_log_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ def emit(self, record):
::warning::a warning message
::error::an error message
::error::an error message
::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()
::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()

assert logs == expected

0 comments on commit de4ee79

Please sign in to comment.