summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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
=======================