summaryrefslogtreecommitdiff
path: root/docs/topics/testing/tools.txt
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-06 08:09:58 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-17 11:49:15 +0100
commit490cccbe7e83874923b276eed26cc23b0db5ebb9 (patch)
tree12faeff64b1a0f973a9ce3535a0e8635a9dab074 /docs/topics/testing/tools.txt
parentea92a4dc2879e084b46d9b141c0a535d536be2e6 (diff)
Removed versionadded/changed annotations for 4.1.
Diffstat (limited to 'docs/topics/testing/tools.txt')
-rw-r--r--docs/topics/testing/tools.txt13
1 files changed, 0 insertions, 13 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt
index 1ecc97a2a9..7c8dd39cfb 100644
--- a/docs/topics/testing/tools.txt
+++ b/docs/topics/testing/tools.txt
@@ -1601,19 +1601,6 @@ your test suite.
which means that ``errors='error message'`` is the same as
``errors=['error message']``.
- .. versionchanged:: 4.1
-
- In older versions, using an empty error list with ``assertFormError()``
- would always pass, regardless of whether the field had any errors or
- not. Starting from Django 4.1, using ``errors=[]`` will only pass if
- the field actually has no errors.
-
- Django 4.1 also changed the behavior of ``assertFormError()`` when a
- field has multiple errors. In older versions, if a field had multiple
- errors and you checked for only some of them, the test would pass.
- Starting from Django 4.1, the error list must be an exact match to the
- field's actual errors.
-
.. deprecated:: 4.1
Support for passing a response object and a form name to