aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtXml/qdomdocument_test.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-07-06 08:55:11 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-07-07 11:12:55 +0000
commitefffa046b8aed56a832f5159ca172e0393c24f1d (patch)
treeedfe1f95b6045f53b9857a64a61cf75ed9d72de4 /sources/pyside2/tests/QtXml/qdomdocument_test.py
parent018207374a4640f2caa961a7b2455e9d7ca60894 (diff)
Fix further tests
- Remove bug_632.py which was testing removed function QLineEdit::getTextMargins() - Enable the qshortcut test - Remove check for QWidget::getContentsMargins() from returnquadruplesofnumbers_test.py - Adapt error message in qdomdocument_test.py - QByteArray: exclude overloads of number functions added by qtbase/66d6943478c3ae76f996c2cd2fdf04fee4fcb767. As a drive by, remove operator[](uint). Change-Id: I8f40dad1c1a446865e9de34a5df293cce09a1510 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside2/tests/QtXml/qdomdocument_test.py')
-rw-r--r--sources/pyside2/tests/QtXml/qdomdocument_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtXml/qdomdocument_test.py b/sources/pyside2/tests/QtXml/qdomdocument_test.py
index 67da9952c..07319092c 100644
--- a/sources/pyside2/tests/QtXml/qdomdocument_test.py
+++ b/sources/pyside2/tests/QtXml/qdomdocument_test.py
@@ -67,7 +67,7 @@ class QDomDocumentTest(unittest.TestCase):
'''Sets invalid xml as the QDomDocument contents.'''
ok, errorStr, errorLine, errorColumn = self.dom.setContent(self.badXmlData, True)
self.assertFalse(ok)
- self.assertEqual(errorStr, 'tag mismatch')
+ self.assertEqual(errorStr, 'Opening and ending tag mismatch.')
self.assertEqual(errorLine, 4)
self.assertEqual(errorColumn, 21)