Fixed #25190 -- Deprecated callable_obj parameter to assertRaisesMessage().

Thanks Aymeric Augustin for review.
This commit is contained in:
Tim Graham 2015-07-29 11:12:07 -04:00
parent 635ffc3c37
commit d27e0f04a6
5 changed files with 32 additions and 2 deletions

View file

@ -1364,6 +1364,11 @@ your test suite.
with self.assertRaisesMessage(ValueError, 'invalid literal for int()'):
int('a')
.. deprecated:: 1.9
Passing ``callable`` as a keyword argument called ``callable_obj`` is
deprecated. Pass the callable as a positional argument instead.
.. method:: SimpleTestCase.assertFieldOutput(fieldclass, valid, invalid, field_args=None, field_kwargs=None, empty_value='')
Asserts that a form field behaves correctly with various inputs.