summaryrefslogtreecommitdiff
path: root/tests/unit/config/test_qtargs.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/config/test_qtargs.py')
-rw-r--r--tests/unit/config/test_qtargs.py14
1 files changed, 5 insertions, 9 deletions
diff --git a/tests/unit/config/test_qtargs.py b/tests/unit/config/test_qtargs.py
index 419faad12..2414d4ba9 100644
--- a/tests/unit/config/test_qtargs.py
+++ b/tests/unit/config/test_qtargs.py
@@ -156,14 +156,12 @@ class TestWebEngineArgs:
assert '--enable-in-process-stack-traces' not in args
@pytest.mark.parametrize(
- 'qt_version, qt6, value, has_arg',
+ 'qt6, value, has_arg',
[
- ('5.15.2', False, 'auto', False),
- ('6.5.3', True, 'auto', True),
- ('6.6.0', True, 'auto', False),
- ('6.5.3', True, 'always', True),
- ('6.5.3', True, 'never', False),
- ('6.6.0', True, 'always', True),
+ (False, 'auto', False),
+ (True, 'auto', True),
+ (True, 'always', True),
+ (True, 'never', False),
],
)
def test_accelerated_2d_canvas(
@@ -172,12 +170,10 @@ class TestWebEngineArgs:
version_patcher,
config_stub,
monkeypatch,
- qt_version,
qt6,
value,
has_arg,
):
- version_patcher(qt_version)
config_stub.val.qt.workarounds.disable_accelerated_2d_canvas = value
monkeypatch.setattr(machinery, 'IS_QT6', qt6)