Remove unused imports
This commit is contained in:
parent
1e2015be65
commit
5be44756e3
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user