Fix lint/test issue
This commit is contained in:
parent
ba940f7f87
commit
4da680f41c
@ -30,6 +30,7 @@ from qutebrowser.utils import log, utils, javascript, usertypes
|
|||||||
from qutebrowser.browser import webelem
|
from qutebrowser.browser import webelem
|
||||||
MYPY = False
|
MYPY = False
|
||||||
if MYPY:
|
if MYPY:
|
||||||
|
# pylint: disable=unused-import,useless-suppression
|
||||||
from qutebrowser.browser.webkit import webkittab
|
from qutebrowser.browser.webkit import webkittab
|
||||||
|
|
||||||
|
|
||||||
|
@ -247,7 +247,7 @@ class TestWebKitElement:
|
|||||||
pytest.param(lambda e: e[None], id='getitem'),
|
pytest.param(lambda e: e[None], id='getitem'),
|
||||||
pytest.param(lambda e: operator.setitem(e, None, None), id='setitem'),
|
pytest.param(lambda e: operator.setitem(e, None, None), id='setitem'),
|
||||||
pytest.param(lambda e: operator.delitem(e, None), id='delitem'),
|
pytest.param(lambda e: operator.delitem(e, None), id='delitem'),
|
||||||
pytest.param(lambda e: None in e, id='contains'),
|
pytest.param(lambda e: '' in e, id='contains'),
|
||||||
pytest.param(list, id='iter'),
|
pytest.param(list, id='iter'),
|
||||||
pytest.param(len, id='len'),
|
pytest.param(len, id='len'),
|
||||||
pytest.param(lambda e: e.has_frame(), id='has_frame'),
|
pytest.param(lambda e: e.has_frame(), id='has_frame'),
|
||||||
|
Loading…
Reference in New Issue
Block a user