diff --git a/tests/stubs.py b/tests/stubs.py index 381ccea7d..ab642160f 100644 --- a/tests/stubs.py +++ b/tests/stubs.py @@ -258,14 +258,16 @@ class MessageModule: """A drop-in replacement for qutebrowser.utils.message.""" - def error(self, _win_id, message, _immediately=False): + # pylint: disable=unused-argument + + def error(self, _win_id, message, immediately=False): """Log an error to the message logger.""" logging.getLogger('message').error(message) - def warning(self, _win_id, message, _immediately=False): + def warning(self, _win_id, message, immediately=False): """Log a warning to the message logger.""" logging.getLogger('message').warning(message) - def info(self, _win_id, message, _immediately=True): + def info(self, _win_id, message, immediately=True): """Log an info message to the message logger.""" logging.getLogger('message').info(message)