summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoofar <toofar@spalge.com>2024-04-06 11:25:14 +1300
committertoofar <toofar@spalge.com>2024-04-06 11:29:31 +1300
commitb812ec2628cc90ea6b9f088de920a9fdad14231b (patch)
treebca0fdf3d98a1345765b947cc119596a8ba0b708
parent3d86d7876abddea68fd04bd72ce3a7f8c9f297ad (diff)
downloadqutebrowser-b812ec2628cc90ea6b9f088de920a9fdad14231b.tar.gz
qutebrowser-b812ec2628cc90ea6b9f088de920a9fdad14231b.zip
Ignore more 6.7 DIR_APP_DICTIONARIOES log messages
In the bleeding edge CI tests I'm seeing: IGNORED: Path override failed for key base::DIR_APP_DICTIONARIES and path '/__w/qutebrowser/qutebrowser/.tox/bleeding/lib/python3.11/sitePath override failed for key base::DIR_APP_DICTIONARIES and path '/__w/qutebrowser/qutebrowser/.tox/bleeding/lib/python3.11/site-packages/PyQt6/Qt6/libexec/qtwebengine_dictionaries' INVALID: -packages/PyQt6/Qt6/libexec/qtwebengine_dictionaries' Where the second line looks like maybe spill over from the first one that is for some reason being printed twice and interleaved! Maybe different processes or threads? I did a regex for "line ending with this and with no spaces in it" which is hopefully safe enough to not pick up a wrong line accidentally.
-rw-r--r--pytest.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/pytest.ini b/pytest.ini
index 883e6d936..2de880eae 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -66,6 +66,10 @@ qt_log_ignore =
^QDBusConnection: couldn't handle call to CloseNotification, no slot matched
# Qt 6.7
^Path override failed for key base::DIR_APP_DICTIONARIES and path '.*/qtwebengine_dictionaries'
+ # Sometime the above message gets printed twice at the same time and the messages get interleaved.
+ # The last part of the outer message gets bumped down to a line on its own, so hopefully this
+ # catches that. And we don't see any other weird permutations of this.
+ ^[^ ]*qtwebengine_dictionaries'$
xfail_strict = true
filterwarnings =
error