diff --git a/python/tests/tstLastError.py b/python/tests/tstLastError.py index d5f9be75..81d0acc4 100755 --- a/python/tests/tstLastError.py +++ b/python/tests/tstLastError.py @@ -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: \'