Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #17248 -- Added a missing versionadded directive for TestCase.a…

…ssertRaisesMessage.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 01f70349c9ef23d6751437dcd57d2efc193b2661 1 parent 5e53f12
@aaugustin aaugustin authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  docs/topics/testing.txt
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.