diff options
-rw-r--r-- | pytest.ini | 2 | ||||
-rw-r--r-- | tests/end2end/fixtures/quteprocess.py | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/pytest.ini b/pytest.ini index 46a22c5c8..e4d1ba065 100644 --- a/pytest.ini +++ b/pytest.ini @@ -57,6 +57,8 @@ qt_log_ignore = # Qt 6.5 debug build # WORKAROUND for https://www.riverbankcomputing.com/pipermail/pyqt/2023-March/045215.html ^QObject::connect: Connecting from COMPAT signal \(QSocketNotifier::activated\(int\)\)$ + # Randomly started showing up on Qt 5.15.2 + ^QBackingStore::endPaint\(\) called with active painter; did you forget to destroy it or call QPainter::end\(\) on it?$ xfail_strict = true filterwarnings = error diff --git a/tests/end2end/fixtures/quteprocess.py b/tests/end2end/fixtures/quteprocess.py index 8fbd62eee..a30129beb 100644 --- a/tests/end2end/fixtures/quteprocess.py +++ b/tests/end2end/fixtures/quteprocess.py @@ -73,6 +73,9 @@ def is_ignored_lowlevel_message(message): # fallback. # INVALID: ", source: userscript:_qute_stylesheet (65) '", source: userscript:_qute_stylesheet (65)', + + # Randomly started showing up on Qt 5.15.2 + 'QPaintDevice: Cannot destroy paint device that is being painted', ] return any(testutils.pattern_match(pattern=pattern, value=message) for pattern in ignored_messages) |