Skip to content

Commit

Permalink
Need with 'with' variant of the assert method if passing the param, for
Browse files Browse the repository at this point in the history
  • Loading branch information
machawk1 committed Oct 16, 2024
1 parent b8273d6 commit 33abe92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_error_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ def test_catch():
with patch('ipwb.error_handler.logger.critical', mock_logger):
caught_error('boo')

mock_logger.assert_called_once('boo')
mock_logger.assert_called_once_with('boo')

0 comments on commit 33abe92

Please sign in to comment.