1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-23 01:52:48 +03:00

Adjust expected error in Python tests

Closes #107.
This commit is contained in:
Nick Wellnhofer
2019-09-26 16:17:31 +02:00
parent d56184a085
commit 9d461ac7d0

View File

@@ -68,8 +68,8 @@ class TestCase(unittest.TestCase):
(s,len(s),"dummy.xml",None,0),
libxml2.treeError,
domain=libxml2.XML_FROM_PARSER,
code=libxml2.XML_ERR_TAG_NOT_FINISHED,
message='Premature end of data in tag x line 1\n',
code=libxml2.XML_ERR_LTSLASH_REQUIRED,
message='EndTag: \'</\' not found\n',
level=libxml2.XML_ERR_FATAL,
file='dummy.xml',
line=3)