mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #32556 -- Fixed handling empty string as non-boolean attributes value by assertHTMLEqual().
This commit is contained in:
committed by
Mariusz Felisiak
parent
98abf80cde
commit
41e6b2a3c5
@@ -362,6 +362,10 @@ Miscellaneous
|
||||
``EmailMessage.attach()`` with an invalid ``content`` or ``mimetype``
|
||||
arguments now raise ``ValueError`` instead of ``AssertionError``.
|
||||
|
||||
* :meth:`~django.test.SimpleTestCase.assertHTMLEqual` no longer considers a
|
||||
non-boolean attribute without a value equal to an attribute with the same
|
||||
name and value.
|
||||
|
||||
.. _deprecated-features-4.0:
|
||||
|
||||
Features deprecated in 4.0
|
||||
|
||||
Reference in New Issue
Block a user