summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2022-01-04 13:02:14 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-01-06 17:29:32 +0100
commitc67e1cf44f17c36139e25b1eae92216cb8baad77 (patch)
treecb739fa75539adcbde1d73b86038c39a51cae046 /docs
parentbc174e6ea0ce676c5a7f467bda9739e6ef6b6186 (diff)
Refs #33348 -- Deprecated passing errors=None to SimpleTestCase.assertFormError()/assertFormsetErrors().
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt4
-rw-r--r--docs/releases/4.1.txt5
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index 939bc5049e..4ab7a4135d 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -75,6 +75,10 @@ details on these changes.
* The ``opclasses`` argument of
``django.contrib.postgres.constraints.ExclusionConstraint`` will be removed.
+* The undocumented ability to pass ``errors=None`` to
+ ``SimpleTestCase.assertFormError()`` and ``assertFormsetError()`` will be
+ removed.
+
.. _deprecation-removed-in-4.1:
4.1
diff --git a/docs/releases/4.1.txt b/docs/releases/4.1.txt
index 11d2c5ca04..219201fd00 100644
--- a/docs/releases/4.1.txt
+++ b/docs/releases/4.1.txt
@@ -385,6 +385,11 @@ Miscellaneous
),
]
+* The undocumented ability to pass ``errors=None`` to
+ :meth:`.SimpleTestCase.assertFormError` and
+ :meth:`~.SimpleTestCase.assertFormsetError` is deprecated. Use ``errors=[]``
+ instead.
+
Features removed in 4.1
=======================