1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Refs #33348 -- Deprecated passing errors=None to SimpleTestCase.assertFormError()/assertFormsetErrors().

This commit is contained in:
Baptiste Mispelon
2022-01-04 13:02:14 +01:00
committed by Mariusz Felisiak
parent bc174e6ea0
commit c67e1cf44f
4 changed files with 61 additions and 10 deletions

View File

@@ -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
=======================