diff options
Diffstat (limited to 'tests/unit/components/test_misccommands.py')
-rw-r--r-- | tests/unit/components/test_misccommands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/components/test_misccommands.py b/tests/unit/components/test_misccommands.py index 342b39f64..3a4118fb4 100644 --- a/tests/unit/components/test_misccommands.py +++ b/tests/unit/components/test_misccommands.py @@ -78,7 +78,7 @@ def test_debug_trace_exception(mocker): """Check that exceptions thrown by hunter.trace are handled.""" def _mock_exception(): """Side effect for testing debug_trace's reraise.""" - raise Exception('message') + raise Exception('message') # pylint: disable=broad-exception-raised hunter_mock = mocker.patch.object(misccommands, 'hunter') hunter_mock.trace.side_effect = _mock_exception |