From 5be44756e3632be40558ce93eeacc8d4d7dda466 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 22 Sep 2017 17:13:45 +0200 Subject: [PATCH] Remove unused imports --- qutebrowser/config/config.py | 4 ++-- tests/unit/config/test_configinit.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qutebrowser/config/config.py b/qutebrowser/config/config.py index 0365eb049..8d93a2344 100644 --- a/qutebrowser/config/config.py +++ b/qutebrowser/config/config.py @@ -25,8 +25,8 @@ import functools from PyQt5.QtCore import pyqtSignal, pyqtSlot, QObject, QUrl -from qutebrowser.config import configdata, configexc, configtypes, configfiles -from qutebrowser.utils import utils, objreg, message, log, jinja, qtutils +from qutebrowser.config import configdata, configexc, configtypes +from qutebrowser.utils import utils, objreg, message, log, jinja from qutebrowser.misc import objects from qutebrowser.commands import cmdexc, cmdutils from qutebrowser.completion.models import configmodel diff --git a/tests/unit/config/test_configinit.py b/tests/unit/config/test_configinit.py index c5108d95f..fef352584 100644 --- a/tests/unit/config/test_configinit.py +++ b/tests/unit/config/test_configinit.py @@ -227,7 +227,7 @@ def test_get_backend(monkeypatch, fake_args, config_stub, fake_args.backend = arg config_stub.val.backend = confval - monkeypatch.setattr(config.qtutils, 'is_new_qtwebkit', + monkeypatch.setattr(configinit.qtutils, 'is_new_qtwebkit', lambda: is_new_webkit) monkeypatch.setattr('builtins.__import__', fake_import)