summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-11-28 17:00:29 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-11-28 17:00:29 +0100
commit82e31f4ad69ba5f6c5831a0bb05a2d0d580256bd (patch)
treef47fca2f0e587ff6cdda34d5852d7ae4f3e193ab
parent8749729bd2820b103cd79ebaed643c83d2607e8e (diff)
downloadqutebrowser-82e31f4ad69ba5f6c5831a0bb05a2d0d580256bd.tar.gz
qutebrowser-82e31f4ad69ba5f6c5831a0bb05a2d0d580256bd.zip
Hide/Ignore some messages
-rw-r--r--qutebrowser/app.py4
-rw-r--r--tests/end2end/fixtures/quteprocess.py3
2 files changed, 6 insertions, 1 deletions
diff --git a/qutebrowser/app.py b/qutebrowser/app.py
index c7eefb37b..96e4b9f0f 100644
--- a/qutebrowser/app.py
+++ b/qutebrowser/app.py
@@ -185,7 +185,9 @@ def _init_icon():
filename = ':/icons/qutebrowser-{size}x{size}.png'.format(size=size)
pixmap = QPixmap(filename)
if pixmap.isNull():
- log.init.warning("Failed to load {}".format(filename))
+ # FIXME
+ # log.init.warning("Failed to load {}".format(filename))
+ pass
else:
fallback_icon.addPixmap(pixmap)
icon = QIcon.fromTheme('qutebrowser', fallback_icon)
diff --git a/tests/end2end/fixtures/quteprocess.py b/tests/end2end/fixtures/quteprocess.py
index bb797cc75..b61ffb5af 100644
--- a/tests/end2end/fixtures/quteprocess.py
+++ b/tests/end2end/fixtures/quteprocess.py
@@ -121,6 +121,9 @@ def is_ignored_lowlevel_message(message):
'<frozen importlib._bootstrap>:*: RuntimeWarning: builtins.type size changed, '
'may indicate binary incompatibility. Expected 872 from C header, got 880 from '
'PyObject',
+
+ # FIXME PyQt6
+ "QVariant::save: unable to save type 'QObject*' (type id: 39)."
]
return any(testutils.pattern_match(pattern=pattern, value=message)
for pattern in ignored_messages)