diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2022-01-04 13:02:14 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-01-06 17:29:32 +0100 |
| commit | c67e1cf44f17c36139e25b1eae92216cb8baad77 (patch) | |
| tree | cb739fa75539adcbde1d73b86038c39a51cae046 /docs | |
| parent | bc174e6ea0ce676c5a7f467bda9739e6ef6b6186 (diff) | |
Refs #33348 -- Deprecated passing errors=None to SimpleTestCase.assertFormError()/assertFormsetErrors().
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 4 | ||||
| -rw-r--r-- | docs/releases/4.1.txt | 5 |
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 ======================= |
