From 52e14950f193ed9444e0c581616d0405d74ab15f Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 8 Jul 2016 20:07:24 +0200 Subject: [PATCH] tests: Fix messagemock with stack argument --- tests/helpers/messagemock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/helpers/messagemock.py b/tests/helpers/messagemock.py index 485f2c745..2696c4783 100644 --- a/tests/helpers/messagemock.py +++ b/tests/helpers/messagemock.py @@ -53,7 +53,7 @@ class MessageMock: self._caplog = caplog self.messages = [] - def _handle(self, level, win_id, text, immediately=False): + def _handle(self, level, win_id, text, immediately=False, *, stack=None): log_levels = { Level.error: logging.ERROR, Level.info: logging.INFO,