Skip to content

Commit cf5187b

Browse files
committed
Update mock assertion method for Py 3.12 for #814
1 parent e88627a commit cf5187b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_error_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ def test_catch():
2424
with patch('ipwb.error_handler.logger.critical', mock_logger):
2525
caught_error('boo')
2626

27-
assert mock_logger.called_once_with(('boo', ))
27+
assert mock_logger.assert_called_once_with(('boo', ))

0 commit comments

Comments
 (0)