diff --git a/qutebrowser/test/keyinput/test_basekeyparser.py b/qutebrowser/test/keyinput/test_basekeyparser.py index 2500c447b..79bccd962 100644 --- a/qutebrowser/test/keyinput/test_basekeyparser.py +++ b/qutebrowser/test/keyinput/test_basekeyparser.py @@ -20,7 +20,6 @@ """Tests for BaseKeyParser.""" import unittest -import logging from unittest.mock import Mock import qutebrowser.keyinput.basekeyparser as basekeyparser @@ -40,7 +39,7 @@ CONFIG = {'test': {'': 'ctrla', def setUpModule(): """Mock out some imports in basekeyparser.""" basekeyparser.QObject = Mock() - logging.disable(logging.ERROR) + basekeyparser.logger = Mock() class NormalizeTests(unittest.TestCase):