Skip process message test on Windows

This commit is contained in:
Florian Bruhin 2023-05-31 12:23:09 +02:00
parent 58436a2955
commit feae08cbc2
1 changed files with 3 additions and 3 deletions

View File

@ -443,15 +443,15 @@ def test_exit_unsuccessful(qtbot, proc, message_mock, py_proc, caplog):
assert not proc.outcome.was_successful()
@pytest.mark.posix # Seems to be a normal exit on Windows
@pytest.mark.parametrize("signal, message, state_str, verbose", [
pytest.param(
(
signal.SIGSEGV,
"Testprocess crashed with status 11 (SIGSEGV).",
"crashed",
False,
marks=pytest.mark.posix # Can't seem to simulate a crash on Windows
),
pytest.param(
(
signal.SIGTERM,
"Testprocess terminated with status 15 (SIGTERM).",
"terminated",