diff options
author | Florian Bruhin <me@the-compiler.org> | 2023-05-31 12:08:10 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2023-05-31 12:08:10 +0200 |
commit | 68e61a239d9b6740c1a6e06fd13515e44e734eb8 (patch) | |
tree | bab566f45a615abad770f718d2b15100135ffdaf | |
parent | 839c8b6fe9b4a79e2ec060e852331ba74a5ad936 (diff) | |
download | qutebrowser-68e61a239d9b6740c1a6e06fd13515e44e734eb8.tar.gz qutebrowser-68e61a239d9b6740c1a6e06fd13515e44e734eb8.zip |
ci: Ignore spurious QPainter messages
-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) |