Make pylint shut up
This commit is contained in:
parent
c58a0e926f
commit
e3e7366863
@ -310,7 +310,9 @@ class QuteProc(testprocess.Process):
|
|||||||
raise ValueError("Either both x/y or neither must be given!")
|
raise ValueError("Either both x/y or neither must be given!")
|
||||||
|
|
||||||
if self.request.config.webengine:
|
if self.request.config.webengine:
|
||||||
|
# pylint: disable=no-name-in-module,useless-suppression
|
||||||
from PyQt5.QtWebEngineWidgets import QWebEnginePage
|
from PyQt5.QtWebEngineWidgets import QWebEnginePage
|
||||||
|
# pylint: enable=no-name-in-module,useless-suppression
|
||||||
if not hasattr(QWebEnginePage, 'scrollPositionChanged'):
|
if not hasattr(QWebEnginePage, 'scrollPositionChanged'):
|
||||||
# Qt < 5.7
|
# Qt < 5.7
|
||||||
pytest.skip("QWebEnginePage.scrollPositionChanged missing")
|
pytest.skip("QWebEnginePage.scrollPositionChanged missing")
|
||||||
|
Loading…
Reference in New Issue
Block a user