From 4f90fd952d8ba71ff234f197085c7f3d145ccdd1 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 28 Feb 2017 08:22:06 +0100 Subject: [PATCH] Skip test_qt_arg on Qt 5.2 --- tests/end2end/test_invocations.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/end2end/test_invocations.py b/tests/end2end/test_invocations.py index bdde54f64..035bc4b52 100644 --- a/tests/end2end/test_invocations.py +++ b/tests/end2end/test_invocations.py @@ -28,6 +28,7 @@ import pytest from PyQt5.QtCore import QProcess from end2end.fixtures import quteprocess, testprocess +from qutebrowser.utils import qtutils def _base_args(config): @@ -187,6 +188,8 @@ def test_version(request): assert re.search(r'^qutebrowser\s+v\d+(\.\d+)', output) is not None +@pytest.mark.skipif(not qtutils.version_check('5.3'), + reason="Does not work on Qt 5.2") def test_qt_arg(request, quteproc_new, tmpdir): """Test --qt-arg.""" args = (['--temp-basedir', '--qt-arg', 'stylesheet',