diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index e656f89124..62b37bb63b 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1641,6 +1641,9 @@ your test suite. syntax differences. When invalid XML is passed in any parameter, an ``AssertionError`` is always raised, even if both string are identical. + XML declaration and comments are ignored. Only the root element and its + children are compared. + Output in case of error can be customized with the ``msg`` argument. .. method:: SimpleTestCase.assertXMLNotEqual(xml1, xml2, msg=None)