diff --git a/scripts/minimal_webkit_testbrowser.py b/scripts/minimal_webkit_testbrowser.py index 20e5e2eea..b5aab12c8 100755 --- a/scripts/minimal_webkit_testbrowser.py +++ b/scripts/minimal_webkit_testbrowser.py @@ -29,7 +29,8 @@ from PyQt5.QtWebKit import QWebSettings from PyQt5.QtWebKitWidgets import QWebView try: - from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEngineSettings + # pylint: disable=no-name-in-module,import-error + from PyQt5.QtWebEngineWidgets import QWebEngineView WEBENGINE = True except ImportError: WEBENGINE = False