From 0e11b85474197d143cd04aec93cc6475c27b2cf7 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 24 Feb 2019 19:50:37 +0100 Subject: [PATCH] Re-enable stylesheet tests for Qt 5.12 This partially reverts commit 0953596ed6761f197dcd5f137175f5c57fe37eeb. This reverts commit 0aa342eae617f5c6722fdf7b14d78d8f58cc0849. --- tests/unit/javascript/stylesheet/test_stylesheet.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/unit/javascript/stylesheet/test_stylesheet.py b/tests/unit/javascript/stylesheet/test_stylesheet.py index 7947692eb..28c56f34c 100644 --- a/tests/unit/javascript/stylesheet/test_stylesheet.py +++ b/tests/unit/javascript/stylesheet/test_stylesheet.py @@ -25,7 +25,7 @@ import pytest QtWebEngineWidgets = pytest.importorskip("PyQt5.QtWebEngineWidgets") QWebEngineProfile = QtWebEngineWidgets.QWebEngineProfile -from qutebrowser.utils import javascript, qtutils +from qutebrowser.utils import javascript DEFAULT_BODY_BG = "rgba(0, 0, 0, 0)" @@ -128,8 +128,6 @@ def test_set_error(stylesheet_tester, config_stub): stylesheet_tester.check_set(GREEN_BODY_BG) -@pytest.mark.skip(qtutils.version_check('5.12', compiled=False), - reason='Broken with Qt 5.12') def test_appendchild(stylesheet_tester): stylesheet_tester.js.load('stylesheet/simple.html') stylesheet_tester.init_stylesheet()