Fixed #31250 -- Ignored processing instructions in assertXMLEqual()/assertXMLNotEqual().

This commit is contained in:
yura 2020-02-12 13:38:06 +03:00 committed by Mariusz Felisiak
parent 4070d6ceb0
commit 54b7af7eb4
3 changed files with 24 additions and 5 deletions

View file

@ -1613,8 +1613,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, document type, and comments are ignored. Only the root
element and its children are compared.
XML declaration, document type, processing instructions, 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.