diff --git a/tests/executors/test_executor.py b/tests/executors/test_executor.py index d1026d91..8a83053f 100644 --- a/tests/executors/test_executor.py +++ b/tests/executors/test_executor.py @@ -19,9 +19,6 @@ SLEEP_300 = "sleep 300" -@pytest.mark.skipif( - "platform.system() == 'Windows'", reason="Expects signal -15 gets 15" -) @pytest.mark.parametrize("command", (SLEEP_300, SLEEP_300.split())) def test_running_process(command): """Start process and shuts it down.""" @@ -36,9 +33,6 @@ def test_running_process(command): assert SLEEP_300 in str(executor) -@pytest.mark.skipif( - "platform.system() == 'Windows'", reason="Expects signal -15 gets 15" -) @pytest.mark.parametrize("command", (SLEEP_300, SLEEP_300.split())) def test_command(command): """Check that the command and command parts are equivalent.""" diff --git a/tests/executors/test_executor_kill.py b/tests/executors/test_executor_kill.py index c5859c6e..4887f6b1 100644 --- a/tests/executors/test_executor_kill.py +++ b/tests/executors/test_executor_kill.py @@ -91,7 +91,10 @@ def test_daemons_killing(): @pytest.mark.skipif( "platform.system() == 'Windows'", - reason="Expects signal -15 gets 15 at the last stop", + reason=( + "Subprocess killed earlier than in 10 secs. " + "Blocking signals probably doesn't work." + ), ) def test_stopping_brutally(): """