diff --git a/tests/end2end/test_hints_html.py b/tests/end2end/test_hints_html.py
index 362f38371..c5b2fd6bd 100644
--- a/tests/end2end/test_hints_html.py
+++ b/tests/end2end/test_hints_html.py
@@ -71,7 +71,7 @@ def _parse_file(test_name):
', '.join(allowed_keys),
', '.join(set(data.keys()))))
- if not 'target' in data:
+ if 'target' not in data:
raise InvalidFile(test_name, "'target' key not found")
qtwebengine_todo = data.get('qtwebengine_todo', None)
@@ -93,7 +93,9 @@ def test_hints(test_name, zoom_text_only, zoom_level, find_implementation,
parsed = _parse_file(test_name)
if parsed.qtwebengine_todo is not None and webengine:
+ # pylint: disable=no-member
pytest.xfail("QtWebEngine TODO: {}".format(parsed.qtwebengine_todo))
+ # pylint: enable=no-member
url_path = 'data/hints/html/{}'.format(test_name)
quteproc.open_path(url_path)