Remove unused imports

This commit is contained in:
Florian Bruhin 2017-10-04 08:56:32 +02:00
parent 969b8f3200
commit 6037d44d0e
3 changed files with 3 additions and 4 deletions

View File

@ -26,7 +26,6 @@ import pytest
from PyQt5.QtCore import pyqtSignal, pyqtSlot, QObject
from qutebrowser.browser import signalfilter
from qutebrowser.utils import objreg
class Signaller(QObject):

View File

@ -25,7 +25,7 @@ import pytest
from PyQt5.QtCore import QUrl
from qutebrowser.commands import argparser, cmdexc
from qutebrowser.utils import usertypes, objreg
from qutebrowser.utils import usertypes
Enum = usertypes.enum('Enum', ['foo', 'foo_bar'])

View File

@ -26,7 +26,7 @@ from PyQt5.QtCore import QUrl, QProcess
from qutebrowser.config import configcommands
from qutebrowser.commands import cmdexc
from qutebrowser.utils import objreg, usertypes
from qutebrowser.utils import usertypes
from qutebrowser.misc import objects
@ -329,7 +329,7 @@ class TestEdit:
commands.config_edit()
mock.assert_called_once_with(unittest.mock.any)
mock.assert_called_once_with(unittest.mock.ANY)
assert not config_stub.val.content.javascript.enabled
def test_error(self, commands, config_stub, patch_editor, message_mock,