1
0
mirror of https://github.com/django/django.git synced 2025-07-17 16:19:12 +00:00

[3.1.x] Fixed typo in docs/topics/testing/tools.txt.

Backport of 4e4db426c5b0a18d1fd4dac6fc1342ab7762b288 from master
This commit is contained in:
Jacob Walls 2020-10-18 13:50:14 -04:00 committed by Mariusz Felisiak
parent 8caf524a1d
commit 18ffdf5c87

View File

@ -1611,7 +1611,7 @@ your test suite.
:meth:`~SimpleTestCase.assertHTMLEqual`, the comparison is :meth:`~SimpleTestCase.assertHTMLEqual`, the comparison is
made on parsed content, hence only semantic differences are considered, not made on parsed content, hence only semantic differences are considered, not
syntax differences. When invalid XML is passed in any parameter, an syntax differences. When invalid XML is passed in any parameter, an
``AssertionError`` is always raised, even if both string are identical. ``AssertionError`` is always raised, even if both strings are identical.
XML declaration, document type, processing instructions, and comments are XML declaration, document type, processing instructions, and comments are
ignored. Only the root element and its children are compared. ignored. Only the root element and its children are compared.