Skip to content

Commit 1da14ca

Browse files
authored
Fix logger error assertion in test_repo.py
1 parent adbe5f4 commit 1da14ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/action/test_repo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ def test_handle_error(logger, format_exc):
762762
else:
763763
assert False
764764
r._report_error.assert_called_with("ahh")
765-
logger.error.assert_called_with("Issue reporting failed", exc_info=True)
765+
logger.error.assert_called_with("Issue reporting failed")
766766

767767

768768
@patch("traceback.format_exc", return_value="ahh")

0 commit comments

Comments
 (0)