Skip to content

Commit

Permalink
Update mock assertion method for Py 3.12 for #814
Browse files Browse the repository at this point in the history
  • Loading branch information
machawk1 committed Apr 24, 2024
1 parent e88627a commit cf5187b
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')

assert mock_logger.called_once_with(('boo', ))
assert mock_logger.assert_called_once_with(('boo', ))

0 comments on commit cf5187b

Please sign in to comment.