Loading docs/topics/testing.txt +2 −0 Original line number Diff line number Diff line Loading @@ -1512,6 +1512,8 @@ your test suite. .. method:: TestCase.assertRaisesMessage(expected_exception, expected_message, callable_obj=None, *args, **kwargs) .. versionadded:: 1.4 Asserts that execution of callable ``callable_obj`` raised the ``expected_exception`` exception and that such exception has an ``expected_message`` representation. Any other outcome is reported as a Loading Loading
docs/topics/testing.txt +2 −0 Original line number Diff line number Diff line Loading @@ -1512,6 +1512,8 @@ your test suite. .. method:: TestCase.assertRaisesMessage(expected_exception, expected_message, callable_obj=None, *args, **kwargs) .. versionadded:: 1.4 Asserts that execution of callable ``callable_obj`` raised the ``expected_exception`` exception and that such exception has an ``expected_message`` representation. Any other outcome is reported as a Loading