diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/testing.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt index dc5bf7e7f5..181b4ffd51 100644 --- a/docs/topics/testing.txt +++ b/docs/topics/testing.txt @@ -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 |
