Skip test_double_start_finished on Windows.
It seems the process sometimes crashes...
This commit is contained in:
parent
c4ebfcd4b3
commit
fbf53168c2
@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
"""Tests for qutebrowser.misc.guiprocess."""
|
"""Tests for qutebrowser.misc.guiprocess."""
|
||||||
|
|
||||||
|
import os
|
||||||
import sys
|
import sys
|
||||||
import textwrap
|
import textwrap
|
||||||
import logging
|
import logging
|
||||||
@ -98,6 +99,7 @@ def test_double_start(qtbot, proc):
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.not_frozen
|
@pytest.mark.not_frozen
|
||||||
|
@pytest.mark.skipif(os.name == 'nt', reason="Test is flaky on Windows...")
|
||||||
def test_double_start_finished(qtbot, proc):
|
def test_double_start_finished(qtbot, proc):
|
||||||
"""Test starting a GUIProcess twice (with the first call finished)."""
|
"""Test starting a GUIProcess twice (with the first call finished)."""
|
||||||
with qtbot.waitSignals([proc.started, proc.finished], raising=True,
|
with qtbot.waitSignals([proc.started, proc.finished], raising=True,
|
||||||
|
Loading…
Reference in New Issue
Block a user