diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2011-11-18 07:09:18 +0000 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2011-11-18 07:09:18 +0000 |
| commit | 01f70349c9ef23d6751437dcd57d2efc193b2661 (patch) | |
| tree | d81f14a164928fcc7a639ba30dfe1e76cf386a11 /docs | |
| parent | 5e53f12761c5e0127f7fd44116c6db9f8088769c (diff) | |
Fixed #17248 -- Added a missing versionadded directive for TestCase.assertRaisesMessage.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
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 |
