summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/unit/javascript/test_js_execution.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/unit/javascript/test_js_execution.py b/tests/unit/javascript/test_js_execution.py
index e4d0f8327..03b82e704 100644
--- a/tests/unit/javascript/test_js_execution.py
+++ b/tests/unit/javascript/test_js_execution.py
@@ -59,7 +59,6 @@ def test_element_js_webkit(webview, js_enabled, expected):
def test_simple_js_webengine(qtbot, webengineview, qapp,
js_enabled, world, expected):
"""With QtWebEngine, runJavaScript works even when JS is off."""
-
assert world in [webenginecore.QWebEngineScript.ScriptWorldId.MainWorld,
webenginecore.QWebEngineScript.ScriptWorldId.ApplicationWorld,
webenginecore.QWebEngineScript.ScriptWorldId.UserWorld]