Remove unused imports

This commit is contained in:
Florian Bruhin 2017-09-22 17:13:45 +02:00
parent 1e2015be65
commit 5be44756e3
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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)