Fix test_tabwidget

This commit is contained in:
Florian Bruhin 2016-11-15 23:40:24 +01:00
parent 7d8ef9fccf
commit d64efa6b9b

View File

@ -155,10 +155,11 @@ def tab_registry(win_registry):
@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*."""
if PYQT_VERSION < 0x050600:
pytest.skip('Causes segfaults, see #1638')
fake_args.backend = 'webengine'
return stubs.FakeWebTab