Fixed #30497 -- Ignored document type in assertXMLEqual()/assertXMLNotEqual().

This commit is contained in:
Caio Ariede 2019-05-22 10:31:46 -03:00 committed by Mariusz Felisiak
parent 4fb9e7b057
commit 753b67c58d
3 changed files with 10 additions and 4 deletions

View file

@ -1645,8 +1645,8 @@ 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.
XML declaration, document type, 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.