diff options
author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-01-13 08:31:30 +0100 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-01-17 11:49:15 +0100 |
commit | 71d1203b07d3092062aa9ebc0ab198abfc144d54 (patch) | |
tree | 8ed6e2818f1db31e1f064f8a4317ca08ed360324 /docs/topics | |
parent | d6816bff73b37af05c968c009419c7c608e37307 (diff) | |
download | django-71d1203b07d3092062aa9ebc0ab198abfc144d54.tar.gz |
Refs #33348 -- Removed support for passing response object and form/formset name to SimpleTestCase.assertFormError()/assertFormSetError().
Per deprecation timeline.
Diffstat (limited to 'docs/topics')
-rw-r--r-- | docs/topics/testing/tools.txt | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 7c8dd39cfb..f3e5ec982f 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1601,12 +1601,6 @@ your test suite. which means that ``errors='error message'`` is the same as ``errors=['error message']``. - .. deprecated:: 4.1 - - Support for passing a response object and a form name to - ``assertFormError()`` is deprecated and will be removed in Django 5.0. - Use the form instance directly instead. - .. method:: SimpleTestCase.assertFormSetError(formset, form_index, field, errors, msg_prefix='') Asserts that the ``formset`` raises the provided list of errors when @@ -1624,12 +1618,6 @@ your test suite. ``field`` and ``errors`` have the same meaning as the parameters to ``assertFormError()``. - .. deprecated:: 4.1 - - Support for passing a response object and a formset name to - ``assertFormSetError()`` is deprecated and will be removed in Django - 5.0. Use the formset instance directly instead. - .. deprecated:: 4.2 The ``assertFormsetError()`` assertion method is deprecated. Use |