mirror of
https://github.com/django/django.git
synced 2025-08-31 15:57:45 +00:00
Fixed #25190 -- Deprecated callable_obj parameter to assertRaisesMessage().
Thanks Aymeric Augustin for review.
This commit is contained in:
parent
635ffc3c37
commit
d27e0f04a6
5 changed files with 32 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue