diff --git a/qutebrowser/test/log.py b/qutebrowser/test/log.py index b60d4a978..db31cdaa0 100644 --- a/qutebrowser/test/log.py +++ b/qutebrowser/test/log.py @@ -52,6 +52,8 @@ def qt_message_handler(msg_type, context, msg): QtFatalMsg: logging.CRITICAL, } level = qt_to_logging[msg_type] + # There's very similiar code in utils.log, but we want it duplicated here + # for the tests. if context.function is None: func = 'none' else: