Fix test_tabwidget
This commit is contained in:
parent
7d8ef9fccf
commit
d64efa6b9b
@ -155,10 +155,11 @@ def tab_registry(win_registry):
|
|||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def fake_web_tab(stubs, tab_registry, mode_manager, qapp):
|
def fake_web_tab(stubs, tab_registry, mode_manager, qapp, fake_args):
|
||||||
"""Fixture providing the FakeWebTab *class*."""
|
"""Fixture providing the FakeWebTab *class*."""
|
||||||
if PYQT_VERSION < 0x050600:
|
if PYQT_VERSION < 0x050600:
|
||||||
pytest.skip('Causes segfaults, see #1638')
|
pytest.skip('Causes segfaults, see #1638')
|
||||||
|
fake_args.backend = 'webengine'
|
||||||
return stubs.FakeWebTab
|
return stubs.FakeWebTab
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user