From c35fd9e2750a3e49a57d9fef964b9ef3e7cb49cb Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 14 Sep 2023 12:39:20 +0200 Subject: Refs #33990 -- Removed SimpleTestCase.assertFormsetError() per deprecation timeline. --- docs/releases/5.1.txt | 2 ++ docs/topics/testing/tools.txt | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt index a1825a7954..c3b2a737fa 100644 --- a/docs/releases/5.1.txt +++ b/docs/releases/5.1.txt @@ -270,3 +270,5 @@ to remove usage of these features. * The ``map_width`` and ``map_height`` attributes of ``BaseGeometryWidget`` are removed. + +* The ``SimpleTestCase.assertFormsetError()`` method is removed. diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index e9b12d94f0..7190c73d79 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1681,11 +1681,6 @@ your test suite. ``field`` and ``errors`` have the same meaning as the parameters to ``assertFormError()``. - .. deprecated:: 4.2 - - The ``assertFormsetError()`` assertion method is deprecated. Use - ``assertFormSetError()`` instead. - .. method:: SimpleTestCase.assertContains(response, text, count=None, status_code=200, msg_prefix='', html=False) Asserts that a :class:`response ` produced the -- cgit v1.3