diff --git a/qutebrowser/utils/log.py b/qutebrowser/utils/log.py index 1f1071673..269e1e38d 100644 --- a/qutebrowser/utils/log.py +++ b/qutebrowser/utils/log.py @@ -285,6 +285,8 @@ def qt_message_handler(msg_type, context, msg): 'QXcbWindow: Unhandled client message: "_E_', 'QXcbWindow: Unhandled client message: "_ECORE_', 'QXcbWindow: Unhandled client message: "_GTK_', + # Happens on AppVeyor CI + 'SetProcessDpiAwareness failed:', ) if any(msg.strip().startswith(pattern) for pattern in suppressed_msgs): level = logging.DEBUG diff --git a/tox.ini b/tox.ini index b51497562..603a771a6 100644 --- a/tox.ini +++ b/tox.ini @@ -162,4 +162,6 @@ pep8ignore = resources.py ALL mccabe-complexity = 12 qt_log_level_fail = WARNING -qt_log_ignore = ^SpellCheck: .* +qt_log_ignore = + ^SpellCheck: .* + ^SetProcessDpiAwareness failed: .*