tests: Fix messagemock with stack argument
This commit is contained in:
parent
7859df74c4
commit
52e14950f1
@ -53,7 +53,7 @@ class MessageMock:
|
|||||||
self._caplog = caplog
|
self._caplog = caplog
|
||||||
self.messages = []
|
self.messages = []
|
||||||
|
|
||||||
def _handle(self, level, win_id, text, immediately=False):
|
def _handle(self, level, win_id, text, immediately=False, *, stack=None):
|
||||||
log_levels = {
|
log_levels = {
|
||||||
Level.error: logging.ERROR,
|
Level.error: logging.ERROR,
|
||||||
Level.info: logging.INFO,
|
Level.info: logging.INFO,
|
||||||
|
Loading…
Reference in New Issue
Block a user