summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-05-31 12:23:09 +0200
committerFlorian Bruhin <me@the-compiler.org>2023-05-31 12:23:09 +0200
commitfeae08cbc2a886e116afc0fb7be0f29840f06292 (patch)
treeb054a4710255bd0829ce4d8e70e0d5dfd0eb0561
parent58436a29556e3b8ff21cb2f494bfb83768dadb6d (diff)
downloadqutebrowser-feae08cbc2a886e116afc0fb7be0f29840f06292.tar.gz
qutebrowser-feae08cbc2a886e116afc0fb7be0f29840f06292.zip
Skip process message test on Windows
-rw-r--r--tests/unit/misc/test_guiprocess.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/misc/test_guiprocess.py b/tests/unit/misc/test_guiprocess.py
index 198da81e0..dac4733a0 100644
--- a/tests/unit/misc/test_guiprocess.py
+++ b/tests/unit/misc/test_guiprocess.py
@@ -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",