From 71d1203b07d3092062aa9ebc0ab198abfc144d54 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 13 Jan 2023 08:31:30 +0100 Subject: Refs #33348 -- Removed support for passing response object and form/formset name to SimpleTestCase.assertFormError()/assertFormSetError(). Per deprecation timeline. --- docs/topics/testing/tools.txt | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'docs/topics/testing') 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 -- cgit v1.3