Don't use @pyqtSlot for MessageMock

This commit is contained in:
Florian Bruhin 2016-09-15 13:38:38 +02:00
parent fce9783570
commit 43a5c46d82

View File

@ -23,7 +23,6 @@ import logging
import collections
import pytest
from PyQt5.QtCore import pyqtSlot
from qutebrowser.utils import usertypes, message
@ -43,7 +42,6 @@ class MessageMock:
def __init__(self):
self.messages = []
@pyqtSlot(usertypes.MessageLevel, str)
def _record_message(self, level, text):
log_levels = {
usertypes.MessageLevel.error: logging.ERROR,