Skip to content

Commit 01f7034

Browse files
committed
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
1 parent 5e53f12 commit 01f7034

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/topics/testing.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1512,6 +1512,8 @@ your test suite.
15121512

15131513
.. method:: TestCase.assertRaisesMessage(expected_exception, expected_message, callable_obj=None, *args, **kwargs)
15141514

1515+
.. versionadded:: 1.4
1516+
15151517
Asserts that execution of callable ``callable_obj`` raised the
15161518
``expected_exception`` exception and that such exception has an
15171519
``expected_message`` representation. Any other outcome is reported as a

0 commit comments

Comments
 (0)